Skip to content

Conversation

@FunMelon
Copy link

@FunMelon FunMelon commented Jan 9, 2026

墨水屏是不少漫画阅读者的主力设备,但是由于刷新和分辨率的限制(不同于手机的LCD和OLED,墨水屏是控制屏幕下的实体墨水运动进行显示的),传统的Android直接安装效果很差,我为框架增加了简易的对墨水屏适配模式

  • 新增墨水屏设置界面lib/pages/settings/ink_screen.dart界面,入口在设置界面
  • 增加禁用UI配置项,增加disableAnimation配置项来管理全局的动画开关
    • UI动画如收藏夹页面的点击漫画源的,侧边栏弹出
    • 自定义动画如点击漫画展开详细页面时的封面平移
    • 为tab页面切换增加了额外支持,实现禁用手势拖动动画
  • 增加禁用惯性滑动开关选项,增加disableInertialScrolling设置项来控制滚动,大量复用了SmoothScrollProviderSmoothCustomScrollView增加滑动的可配置性(如漫画源配置界面)
  • 增加翻页距离滑块设置,增加inkScrollPageFraction设置项(范围0.1-1.0),让用户自行决定每次跳转多远
  • 增加图片缩放滤波设置,增加inkImageFilterQuality设置项(none/low/medium/high),开启双线性滤波能缓解墨水屏因低刷新率和物理显示特性带来的画面锯齿、毛刺问题
  • 复用了lib\pages\settings\reader.dart的按钮,增加enablePageAnimation对画廊模式手势滑动翻页的控制(唯一不更改墨水屏配置对原框架的改动[Bug]: 关闭页面动画后,滑动翻页仍然存在动画 #745

我使用我的汉王clear6 turbo(4 + 64GB, Android 14)做了部分演示,以动态照片的形式放在了小红书的帖子上http://xhslink.com/o/5xWiyMgC8oQ


  • Added the e-ink screen settings interface at lib/pages/settings/ink_screen.dart, accessible via the settings page
  • Added a UI disabling configuration option, including the disableAnimation setting to globally control animation switches
    • UI animations such as tapping on manga sources in the favorites page and sidebar pop-ups
    • Custom animations such as cover translation when expanding manga details
    • Added additional support for tab switching to disable gesture drag animations
  • Added an inertial scrolling toggle option, including the disableInertialScrolling setting to control scrolling behavior. This reuses SmoothScrollProvider and SmoothCustomScrollView extensively to enhance scroll configurability (e.g., in manga source configuration pages)
  • Added a page-turning distance slider setting, including the inkScrollPageFraction setting (range: 0.1–1.0)
  • Added an image scaling filter setting, including the inkImageFilterQuality option (none/low/medium/high). Enabling bilinear filtering can alleviate issues like jagged edges and artifacts on e-ink screens due to low refresh rates and physical display characteristics
  • Reused buttons from lib/pages/settings/reader.dart and added enablePageAnimation to control gesture-based page-turning in gallery mode (the only modification to the original framework that does not alter e-ink screen configurations)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant