File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " tauri " : " patch"
3+ ---
4+
5+ Fix resize glitch when double clicking a custom titlebar in the top resize area.
Original file line number Diff line number Diff line change 136136 if ( e . target . hasAttribute ( 'data-tauri-drag-region' ) && e . buttons === 1 ) {
137137 // prevents text cursor
138138 e . preventDefault ( )
139+ // fix #2549: double click on drag region edge causes content to maximize without window sizing change
140+ // https://github.com/tauri-apps/tauri/issues/2549#issuecomment-1250036908
141+ e . stopImmediatePropagation ( )
142+
139143 // start dragging if the element has a `tauri-drag-region` data attribute and maximize on double-clicking it
140144 window . __TAURI_INVOKE__ ( 'tauri' , {
141145 __tauriModule : 'Window' ,
You can’t perform that action at this time.
0 commit comments