Emscripten fixes

This commit is contained in:
Yousef Khadadeh 2026-05-14 14:39:34 +03:00
parent ad1844adc7
commit c083ccc1a9
9 changed files with 60 additions and 18 deletions

View file

@ -43,13 +43,21 @@ class GlobalConfig {
std::filesystem::path configPath;
float guiScale = 1.0f;
#ifdef __ANDROID__
float guiScale = 1.2f;
#else
float guiScale = 1.0f;
#endif
double dragZoomSpeed = 0.02;
double scrollZoomSpeed = 0.4;
float jumpTransitionTime = 0.5f;
Vector4f jumpTransitionEasing{0.75, 0.25, 0.25, 0.75};
#ifdef __EMSCRIPTEN__
bool viewWebVersionWelcome = true;
#else
bool viewWebVersionWelcome = false;
#endif
struct TabletOptions {
bool pressureAffectsBrushWidth = true;