Skip to content

Modernize pointer events and new select box look#4068

Open
jeffsenn wants to merge 70 commits intocyruzzo:mainfrom
jeffsenn:modernize-pointer-events-new-select-box
Open

Modernize pointer events and new select box look#4068
jeffsenn wants to merge 70 commits intocyruzzo:mainfrom
jeffsenn:modernize-pointer-events-new-select-box

Conversation

@jeffsenn
Copy link
Contributor

-- modernization of mouse events to pointer events
--- pointer capture to improve move-off-window cases
-- new SVG select box for cleaner look (and central control of styling)
--- better styling for contrast on mixed color scenes
-- replace jquery draggable with map specific code and streamline
--- install "token dragger/rotator" once (instead of every event time)

# Conflicts:
#	Fog.js
# Conflicts:
#	Token.js
#	abovevtt.css
commit 64aa015
Merge: 4423c72 c32289d
Author: Jeff Senn <jeffsenn@gmail.com>
Date:   Wed Feb 25 12:44:06 2026 -0500

    Merge remote-tracking branch 'origin/main' into refactor-grid

commit c32289d
Merge: e995008 16ef423
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Wed Feb 25 10:01:59 2026 -0500

    Merge pull request cyruzzo#3994 from Azmoria/main

    Internal - bump 1.49.1 (probably need hotfix version for characters not in a campaign)

commit 16ef423
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Wed Feb 25 10:01:35 2026 -0500

    Internal - bump 1.49.1 (probably need hotfix version for characters not in a campaign)

commit e995008
Merge: 479f083 5e4986b
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Wed Feb 25 10:00:47 2026 -0500

    Merge pull request cyruzzo#3993 from Azmoria/main

    Fix - issue with dice rolling on characters not part of a campaign

commit 5e4986b
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Wed Feb 25 09:58:51 2026 -0500

    Fix - issue with dice rolling on characters not part of a campaign

commit 479f083
Merge: 9283dfc 7c3407f
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Tue Feb 24 14:21:59 2026 -0500

    Merge pull request cyruzzo#3992 from Azmoria/main

    Internal - missed class

commit 7c3407f
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Tue Feb 24 14:21:42 2026 -0500

    Internal - missed class

commit 9283dfc
Merge: 0515469 6b0a687
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Tue Feb 24 14:09:09 2026 -0500

    Merge pull request cyruzzo#3991 from Azmoria/main

    Fix - dice panel flashing when viewing the sheet outside avtt and rolling

commit 6b0a687
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Tue Feb 24 14:07:19 2026 -0500

    Fix - dice panel flashing when viewing the sheet outside avtt and rolling

commit 0515469
Merge: 323766d 07e93e5
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Tue Feb 24 11:33:26 2026 -0500

    Merge pull request cyruzzo#3990 from Azmoria/main

    Beta - make sure panel is hidden when rolling

commit 07e93e5
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Tue Feb 24 11:33:03 2026 -0500

    Beta - make sure panel is hidden when rolling

commit 323766d
Merge: 3248f85 ff311ab
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Tue Feb 24 04:24:09 2026 -0500

    Merge pull request cyruzzo#3989 from Azmoria/main

    Fix - context menu roll to DM for players and self for DM

commit ff311ab
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Tue Feb 24 04:10:38 2026 -0500

    Fix - context menu roll to DM for players and self for DM

commit 3248f85
Merge: d4ec8bd c8420ec
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Tue Feb 24 02:48:04 2026 -0500

    Merge pull request cyruzzo#3988 from Azmoria/main

    Add support for DDB's new 3d dice toggle

commit c8420ec
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Tue Feb 24 02:46:46 2026 -0500

    Add support for DDB's new 3d dice toggle

commit d4ec8bd
Merge: 2f7bebf 5106723
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Mon Feb 23 22:35:54 2026 -0500

    Merge pull request cyruzzo#3986 from Azmoria/main

    Fix - issue with rolls if 3d dice is disabled by DDB, we may be able to support this in the future but for 3d dice for now when using ddb dice; Fix - issue with quantity of dice still displaying after clicking a roll on our dice below chat; Beta - fix issue of first player dice roll failing

commit 5106723
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Mon Feb 23 22:34:47 2026 -0500

    Fix - issue with rolls if 3d dice is disabled by DDB, we may be able to support this in the future but for 3d dice for now when using ddb dice

commit 2c92de1
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Mon Feb 23 22:30:30 2026 -0500

    Fix - issue with quantity of dice still displaying after clicking a roll on our dice below chat

commit d069916
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Mon Feb 23 22:19:41 2026 -0500

    Beta - fix issue of first player dice roll failing

commit 2f7bebf
Merge: 1663c6e 0effe72
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Mon Feb 23 22:14:42 2026 -0500

    Merge pull request cyruzzo#3985 from Azmoria/main

    Fix - icon rolls and crit range; Beta - more dice fixes

commit 0effe72
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Mon Feb 23 22:14:00 2026 -0500

    Fix - icon rolls and crit range

commit c2527ae
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Mon Feb 23 21:58:28 2026 -0500

    Beta - more dice fixes

commit 4423c72
Merge: 2f7abb6 1663c6e
Author: Jeff Senn <jeffsenn@gmail.com>
Date:   Mon Feb 23 21:53:28 2026 -0500

    Merge branch 'main' into refactor-grid

commit 1663c6e
Merge: db2e5fa b8515bb
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Mon Feb 23 21:35:51 2026 -0500

    Merge pull request cyruzzo#3984 from Azmoria/main

    Internal - typo

commit b8515bb
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Mon Feb 23 21:35:28 2026 -0500

    Internal - typo

commit db2e5fa
Merge: 1c47604 6b2f5c6
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Mon Feb 23 21:33:42 2026 -0500

    Merge pull request cyruzzo#3983 from Azmoria/main

    Fix - our dice buttons below gamelog; Fix - dice button position

commit 6b2f5c6
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Mon Feb 23 21:33:14 2026 -0500

    Fix - our dice buttons below gamelog; Fix - dice button position

commit 1c47604
Merge: b597369 5005759
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Mon Feb 23 21:14:12 2026 -0500

    Merge pull request cyruzzo#3982 from Azmoria/main

    Fix - issue with gamelog not appearing for players; Fix - issue with dice not being visible; Fix - dice messaging;

commit 5005759
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Mon Feb 23 21:03:51 2026 -0500

    Fix - dice messaging

commit 9bc611f
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Mon Feb 23 19:38:12 2026 -0500

    Fix - issue with dice not being visible

commit ef2ed51
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Mon Feb 23 19:03:25 2026 -0500

    Fix - issue with gamelog not appearing for players

commit b597369
Merge: 04ae0f8 479077a
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Sun Feb 22 21:39:31 2026 -0500

    Merge pull request cyruzzo#3981 from Azmoria/main

    Fix - DM button not updating to current scene when leaving grid wizard; Fix - issue where closing the scene settings while loading grid wizard causes scene to get stuck loading; Beta Fix - issue where when using  grid wizard it wouldn't reload the scene if clicking cancel;

commit 479077a
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Sun Feb 22 21:11:49 2026 -0500

    Fix - DM button not updating to current scene when leaving grid wizard; Beta Fix - issue where when using  grid wizard it wouldn't reload the scene if clicking cancel; Fix - issue where closing the scene settings while loading grid wizard causes scene to get stuck loading

commit 2f7abb6
Author: Jeff Senn <jeffsenn@gmail.com>
Date:   Sun Feb 22 20:58:03 2026 -0500

    simplify and fix old tmp code

commit d037621
Author: Jeff Senn <jeffsenn@gmail.com>
Date:   Sun Feb 22 20:04:52 2026 -0500

    only handle gridOver in one case

commit 98bfa13
Author: Jeff Senn <jeffsenn@gmail.com>
Date:   Sun Feb 22 18:31:44 2026 -0500

    fix wizbox visibility

commit e047490
Author: Jeff Senn <jeffsenn@gmail.com>
Date:   Sun Feb 22 16:02:46 2026 -0500

    clarifying comment

commit bcb1595
Author: Jeff Senn <jeffsenn@gmail.com>
Date:   Sun Feb 22 16:00:37 2026 -0500

    grid overlay option fixes

commit 4e1a7e6
Author: Jeff Senn <jeffsenn@gmail.com>
Date:   Sun Feb 22 14:48:09 2026 -0500

    oops merge fixes

commit c5f5967
Merge: 4a58fda 04ae0f8
Author: Jeff Senn <jeffsenn@gmail.com>
Date:   Sun Feb 22 14:45:43 2026 -0500

    Merge branch 'main' into refactor-grid

    # Conflicts:
    #	Token.js
    #	abovevtt.css

commit 04ae0f8
Merge: a7dd11c 48124ab
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Sat Feb 21 23:43:39 2026 -0500

    Merge pull request cyruzzo#3980 from Azmoria/main

    Beta Fix - some issues with fog on player end when vision is disabled

commit 48124ab
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Sat Feb 21 23:41:15 2026 -0500

    Beta Fix - some issues with fog on player end

commit a7dd11c
Merge: 057a9a6 8574c1e
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Sat Feb 21 18:36:16 2026 -0500

    Merge pull request cyruzzo#3979 from Azmoria/main

    Internal - add some comments for what each stored offscreen canvas is used for

commit 8574c1e
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Sat Feb 21 18:28:42 2026 -0500

    Internal - add some comments for what each stored offscreen canvas is used for

commit 057a9a6
Merge: 9035ec4 3d3451a
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Sat Feb 21 18:11:50 2026 -0500

    Merge pull request cyruzzo#3978 from Azmoria/main

    QoL - checking token vision for DM should show fog as opaque to better match player view

commit 3d3451a
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Sat Feb 21 18:11:19 2026 -0500

    QoL - checking token vision for DM should show fog as opaque

commit 9035ec4
Merge: 895d120 a718bff
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Sat Feb 21 18:02:32 2026 -0500

    Merge pull request cyruzzo#3977 from Azmoria/main

    Fix - issue where fog wasn't hiding tokens for the DM when checking token vision

commit a718bff
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Sat Feb 21 18:01:59 2026 -0500

    Fix - issue where fog wasn't hiding token for the DM when checking token vision

commit 895d120
Merge: 67897f1 b9871a2
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Sat Feb 21 17:46:46 2026 -0500

    Merge pull request cyruzzo#3976 from Azmoria/main

    Beta - another offscreen canvas removed from memory

commit b9871a2
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Sat Feb 21 17:43:27 2026 -0500

    Beta - another offscreen canvas removed from memory

commit 67897f1
Merge: 933ebdc 3cc68d8
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Fri Feb 20 23:39:06 2026 -0500

    Merge pull request cyruzzo#3975 from Azmoria/main

    QoL - add hotkeys for move to top/bottom for tokens `/` for bottom and `'` for top

commit 3cc68d8
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Fri Feb 20 23:34:38 2026 -0500

    QoL - add hotkeys for move to top/bottom for tokens `/` for bottom and `'` for top

commit 933ebdc
Merge: 17c0042 09be29b
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Fri Feb 20 19:03:36 2026 -0500

    Merge pull request cyruzzo#3974 from Azmoria/main

    Beta fix - another scroll issue

commit 09be29b
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Fri Feb 20 19:03:19 2026 -0500

    Beta fix - another scroll issue

commit 17c0042
Merge: 489d3ba 6e0fad1
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Fri Feb 20 18:02:50 2026 -0500

    Merge pull request cyruzzo#3973 from Azmoria/main

    Internal - move check into first loop

commit 6e0fad1
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Fri Feb 20 18:00:23 2026 -0500

    Internal - move check into first loop

commit 4a58fda
Author: Jeff Senn <jeffsenn@gmail.com>
Date:   Fri Feb 13 23:27:44 2026 -0500

    error check on no wizbox for player mode

commit 7010a94
Merge: 33cd74e 48669f5
Author: Jeff Senn <jeffsenn@gmail.com>
Date:   Thu Feb 12 22:52:28 2026 -0500

    Merge branch 'main' into refactor-grid

commit 33cd74e
Author: Jeff Senn <jeffsenn@gmail.com>
Date:   Wed Feb 11 10:03:05 2026 -0500

    grid overlay options in scenes

commit f1dc214
Author: Jeff Senn <jeffsenn@gmail.com>
Date:   Sun Feb 8 18:46:50 2026 -0500

    start scene flag for grid placement

commit 60e3047
Author: Jeff Senn <jeffsenn@gmail.com>
Date:   Sun Feb 8 15:21:35 2026 -0500

    clarify snap code and some issues for snap to mouse token drag

commit 82a64e2
Author: Azmoria <65363489+Azmoria@users.noreply.github.com>
Date:   Sun Feb 8 12:32:18 2026 -0500

    Beta Fix - issue with launching grid wizard and loading into scenes sometimes due to 0 size canvas

commit 111989f
Merge: b48dcbc 20bf5e9
Author: Jeff Senn <jeffsenn@gmail.com>
Date:   Sun Feb 8 11:16:08 2026 -0500

    Merge branch 'main' into refactor-grid

commit b48dcbc
Author: Jeff Senn <jeffsenn@gmail.com>
Date:   Sun Feb 8 11:08:31 2026 -0500

    Squashed commit of the following:

    commit 7da239d
    Merge: 62b3d5c 2c6d227
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Sat Feb 7 23:23:27 2026 -0500

        Merge branch 'main' into canvas-opt-grid

    commit 62b3d5c
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Sat Feb 7 23:20:37 2026 -0500

        wizbox fix

    commit cd3156e
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Sat Feb 7 23:03:02 2026 -0500

        tinytoken fix

    commit 7367d8c
    Merge: d5de8e3 afa4ae3
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Sat Feb 7 22:28:14 2026 -0500

        Merge branch 'main' into canvas-opt-grid

    commit d5de8e3
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Sat Feb 7 22:25:36 2026 -0500

        token arrow movement cleanup and better snap

    commit c868824
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Sat Feb 7 09:58:45 2026 -0500

        cleanup hex grid tool snapping; still need to do arrowkeys

    commit 60b36c9
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Fri Feb 6 22:26:54 2026 -0500

        changes

    commit c8fdf5e
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Fri Feb 6 15:50:16 2026 -0500

        some snap still broken

    commit 3135928
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Fri Feb 6 07:25:58 2026 -0500

        math right

    commit 6451a82
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Fri Feb 6 07:03:37 2026 -0500

        tmp

    commit b3f22da
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Thu Feb 5 15:40:26 2026 -0500

        scale still messed up; start at grid layering; see 'g' key and ruler drawing

    commit 11922c0
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Wed Feb 4 22:10:33 2026 -0500

        tweak

    commit 27ff839
    Merge: 1167d95 655b1b6
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Wed Feb 4 21:51:47 2026 -0500

        Merge branch 'main' into canvas-opt-grid

        # Conflicts:
        #	Fog.js

    commit 1167d95
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Wed Feb 4 17:04:52 2026 -0500

        fixes

    commit e7893e2
    Merge: fa29beb 9633f4f
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Wed Feb 4 15:58:27 2026 -0500

        Merge remote-tracking branch 'upstream/main' into canvas-opt-grid

        # Conflicts:
        #	Fog.js

    commit fa29beb
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Wed Feb 4 14:32:05 2026 -0500

        simplify code (need to fix other things tho)

    commit 0a68360
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Wed Feb 4 14:15:35 2026 -0500

        svg grid only - still a few things broken

    commit 640e2dc
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Tue Feb 3 18:15:02 2026 -0500

        delete confusing comment and some logs

    commit fe47b83
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Tue Feb 3 18:03:42 2026 -0500

        svg grid

    commit 6f072e7
    Merge: a4753ea 712213e
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Tue Feb 3 12:01:44 2026 -0500

        Merge branch 'main' into canvas-opt-grid

    commit a4753ea
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Tue Feb 3 11:58:33 2026 -0500

        WIP: css only grid test

    commit bed47e2
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Tue Feb 3 08:25:32 2026 -0500

        more grid code opt

        # Conflicts:
        #	Fog.js

    commit 4e80d53
    Author: Jeff Senn <jeffsenn@gmail.com>
    Date:   Tue Feb 3 07:53:43 2026 -0500

        a few js opts; only use grid canvas when grid active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant