瀏覽代碼

fix(core): add permission for `window.start_resize_dragging` (#9490)

closes #9485
Amr Bashir 1 年之前
父節點
當前提交
a07b513201

+ 5 - 0
.changes/core-start-resize-permission.md

@@ -0,0 +1,5 @@
+---
+"tauri": "patch:bug"
+---
+
+Add missing permission for `window.start_resize_dragging`

+ 1 - 0
core/tauri/build.rs

@@ -101,6 +101,7 @@ const PLUGINS: &[(&str, &[(&str, bool)])] = &[
       ("set_cursor_position", false),
       ("set_ignore_cursor_events", false),
       ("start_dragging", false),
+      ("start_resize_dragging", false),
       ("set_progress_bar", false),
       ("set_icon", false),
       ("toggle_maximize", false),

+ 2 - 0
core/tauri/permissions/window/autogenerated/reference.md

@@ -110,6 +110,8 @@
 |`deny-show`|Denies the show command without any pre-configured scope.|
 |`allow-start-dragging`|Enables the start_dragging command without any pre-configured scope.|
 |`deny-start-dragging`|Denies the start_dragging command without any pre-configured scope.|
+|`allow-start-resize-dragging`|Enables the start_resize_dragging command without any pre-configured scope.|
+|`deny-start-resize-dragging`|Denies the start_resize_dragging command without any pre-configured scope.|
 |`allow-theme`|Enables the theme command without any pre-configured scope.|
 |`deny-theme`|Denies the theme command without any pre-configured scope.|
 |`allow-title`|Enables the title command without any pre-configured scope.|