Skip to content

Commit

Permalink
fix chrome 125 dragging
Browse files Browse the repository at this point in the history
This is fixed by disabling content drag for the whole tile. This means users have to grab the tile drag handle for these tiles instead.
  • Loading branch information
scytacki committed May 20, 2024
1 parent c6d7432 commit 811033a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/drawing/drawing-registration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ registerTileContentInfo({
registerTileComponentInfo({
type: kDrawingTileType,
Component: DrawingToolComponent,
tileEltClass: "drawing-tool-tile",
tileEltClass: "drawing-tool-tile disable-tile-content-drag",
Icon,
HeaderIcon,
tileHandlesOwnSelection: true
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/simulator/simulator-registration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ registerTileComponentInfo({
Component: SimulatorTileComponent,
Icon,
HeaderIcon,
tileEltClass: "simulator-tool-tile",
tileEltClass: "simulator-tool-tile disable-tile-content-drag",
type: kSimulatorTileType,
});

0 comments on commit 811033a

Please sign in to comment.