Skip to content

Commit

Permalink
Fix touch bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
K0R0L committed Oct 2, 2024
1 parent fb4622d commit 8d0d748
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cell/view/mobileTouch.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ function (window, undefined)

this.iScroll = new window.IScrollMobile(_element, {
scrollbars: true,
mouseWheel: true,
mouseWheel: !this.isDesktopMode,
interactiveScrollbars: true,
shrinkScrollbars: 'scale',
fadeScrollbars: true,
Expand Down
4 changes: 2 additions & 2 deletions common/Scrolls/mobileTouchManagerBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -1695,8 +1695,6 @@
ctx.fillStyle = targetElement.style.backgroundColor;
ctx.fill();
ctx.beginPath();

this.isGlassDrawed = true;
}

ctx.beginPath();
Expand All @@ -1709,6 +1707,8 @@
overlay.CheckRect(posMouseX - rad, posMouseY - glassOffset - glassSize, glassSize, glassSize);

ctx.restore();

this.isGlassDrawed = true;
};

// отрисовка текстового селекта
Expand Down
4 changes: 2 additions & 2 deletions slide/Drawing/mobileTouchManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@

this.iScroll = new window.IScrollMobile(_element, {
scrollbars: true,
mouseWheel: true,
mouseWheel: !this.isDesktopMode,
interactiveScrollbars: true,
shrinkScrollbars: 'scale',
fadeScrollbars: true,
Expand Down Expand Up @@ -1190,7 +1190,7 @@

this.iScroll = new window.IScrollMobile(_element, {
scrollbars: true,
mouseWheel: true,
mouseWheel: !this.isDesktopMode,
interactiveScrollbars: true,
shrinkScrollbars: 'scale',
fadeScrollbars: true,
Expand Down
4 changes: 2 additions & 2 deletions word/Drawing/mobileTouchManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

this.iScroll = new window.IScrollMobile(_element, {
scrollbars: true,
mouseWheel: true,
mouseWheel: !this.isDesktopMode,
interactiveScrollbars: true,
shrinkScrollbars: 'scale',
fadeScrollbars: true,
Expand Down Expand Up @@ -806,7 +806,7 @@

this.iScroll = new window.IScrollMobile(this.delegate.GetScrollerParent(), {
scrollbars: true,
mouseWheel: true,
mouseWheel: !this.isDesktopMode,
interactiveScrollbars: true,
shrinkScrollbars: 'scale',
fadeScrollbars: true,
Expand Down

0 comments on commit 8d0d748

Please sign in to comment.