Improved scroll area, especially for touch devices

This commit is contained in:
Yousef Khadadeh 2026-04-29 12:38:40 +03:00
parent 826efee7fb
commit 6a05026f85
12 changed files with 271 additions and 133 deletions

View file

@ -99,6 +99,12 @@ struct UpdateInputData {
InputManager* input = nullptr;
std::function<void()> layoutRun;
#ifdef __ANDROID__
bool isTouchDevice = true;
#else
bool isTouchDevice = false;
#endif
SkFont get_font(float fSize) const;
uint16_t fontSize = 16;