mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-28 12:27:16 +03:00
fix(core): fix drag-region not sending its events correctly (#2196)
This commit is contained in:
parent
bc2c331dec
commit
578610a29d
5
.changes/fix-data-tauri-drag-region.md
Normal file
5
.changes/fix-data-tauri-drag-region.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Fixes `data-tauri-drag-region` not firing its events.
|
@ -202,7 +202,12 @@ if (!String.prototype.startsWith) {
|
||||
{
|
||||
__tauriModule: 'Window',
|
||||
message: {
|
||||
cmd: e.detail === 2 ? 'toggleMaximize' : 'startDragging'
|
||||
cmd: 'manage',
|
||||
data: {
|
||||
cmd: {
|
||||
type: e.detail === 2 ? 'toggleMaximize' : 'startDragging'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
_KEY_VALUE_
|
||||
|
Loading…
Reference in New Issue
Block a user