hide zoom-cursor if view-style is original

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2022-11-24 11:19:16 +08:00
parent 90959eebff
commit 02c1bc6080
6 changed files with 92 additions and 52 deletions

View File

@@ -565,7 +565,7 @@ class CanvasModel with ChangeNotifier {
updateScrollStyle() async {
final style = await bind.sessionGetScrollStyle(id: id);
if (style == 'scrollbar') {
if (style == kRemoteScrollStyleBar) {
_scrollStyle = ScrollStyle.scrollbar;
_scrollX = 0.0;
_scrollY = 0.0;