Skip to content

Commit

Permalink
Merge pull request #2028 from farfalk/next-area-select-over-model-fix
Browse files Browse the repository at this point in the history
Area selection over model fix
  • Loading branch information
JannisX11 authored Nov 23, 2023
2 parents 11e4302 + ea41593 commit c08e0c3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions js/preview/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,11 @@ class Preview {
Toolbox.selected.onCanvasClick(data)
Blockbench.dispatchEvent('canvas_click', data)
}

if (Keybinds.extra.preview_area_select.keybind.isTriggered(event)) {
this.startSelRect(event)
}

return true;
}
if (is_canvas_click && typeof Toolbox.selected.onCanvasClick === 'function') {
Expand Down

0 comments on commit c08e0c3

Please sign in to comment.