Improved scroll area, especially for touch devices
This commit is contained in:
parent
826efee7fb
commit
6a05026f85
12 changed files with 271 additions and 133 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue