docs: drop the dead font registry and resync the reader UI spec with the shipped chrome

This commit is contained in:
randogoth 2026-10-11 12:51:18 +03:00
parent ac9118a453
commit df705d831f
5 changed files with 8 additions and 30 deletions

View file

@ -13,8 +13,7 @@ import 'palettes.dart';
import 'swipe_navigator.dart';
/// The whole v1 UI: an address bar that hides on scroll, the page reader with
/// swipe back/forward, a settings FOB that appears on scroll, and error
/// states that never guess.
/// swipe back/forward, and error states that never guess.
class ReaderScreen extends StatefulWidget {
const ReaderScreen({super.key});
@ -49,8 +48,8 @@ class _ReaderScreenState extends State<ReaderScreen> {
if (!_scroll.hasClients) return;
final position = _scroll.position;
// The bar and FOB hide when the reader scrolls down and come back on any
// upward scroll; both are always visible at the top of the page.
// The bar hides when the reader scrolls down and comes back on any
// upward scroll; it is always visible at the top of the page.
final wantVisible = position.pixels <= 0 ||
position.userScrollDirection == ScrollDirection.forward;