-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): allow canceling
data-tauri-drag-region
maximization on m…
…acOS, closes #8306 (#8312) * fix(core): allow canceling `data-tauri-drag-region` maximization on macOS, closes #8306 * Update .changes/tauri-data-drag-region-macos-maximize.md * fix typo * cancel if mouse moves * Update tauri-data-drag-region-macos-maximize.md [skip ci] * Update core/tauri/scripts/core.js [skip ci] --------- Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
- Loading branch information
1 parent
446fc99
commit 8f8729d
Showing
2 changed files
with
60 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'tauri': 'patch:bug' | ||
--- | ||
|
||
On macOS, allow cancelling maximization when doubleclick happens on `data-tauri-drag-region` by simply keeping the left moust button pressed and then moving the mouse away of the starting position of the click, which is consistent with the native behavior of macOS. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters