Route default canvas resolution through platform services

This commit is contained in:
2026-06-04 19:20:06 +02:00
parent b2334e65c9
commit 0489c4229e
12 changed files with 57 additions and 10 deletions

View File

@@ -510,6 +510,15 @@ public:
#endif
}
[[nodiscard]] int default_canvas_resolution() override
{
#if __WEB__
return 512;
#else
return 1536;
#endif
}
[[nodiscard]] bool draws_canvas_tip_for_pointer(
bool is_mouse,
bool is_stylus,