Skip to content

Commit

Permalink
Bugfix: TimeUI zoom - use wheel instead of mousewheel event for ff
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman committed Mar 21, 2024
1 parent 22a9901 commit 3b57a2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/essence/Ancillary/TimeUI.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const TimeUI = {

// Timeline pan and zoom
// zoom
$('#mmgisTimeUITimelineInner').on('mousewheel', function (e) {
$('#mmgisTimeUITimelineInner').on('wheel', function (e) {
if (TimeUI.play) return
const x = e.originalEvent.offsetX
const width = document
Expand Down

0 comments on commit 3b57a2b

Please sign in to comment.