fix: shield on_mouse_down takes the button
Co-Authored-By: Ovis Fast (Claude) <[email protected]>
This commit is contained in:
1 parent
68fa3677d1
commit
3292b04989
1 file changed
+2
-1
@@ -2465,7 +2465,8 @@ export default class Composer extends View {
|
||||
.id("composer-row-menu-shield")
|
||||
.absolute()
|
||||
.inset_0()
|
||||
.on_mouse_down((event, cx) => this.closeRowMenuByClick(cx))
|
||||
.on_mouse_down("left", (event, cx) => this.closeRowMenuByClick(cx))
|
||||
.on_mouse_down("right", (event, cx) => this.closeRowMenuByClick(cx))
|
||||
.on_click((event, cx) => this.closeRowMenuByClick(cx)),
|
||||
)
|
||||
.child(
|
||||
|
||||
Reference in new issue
Block a user