💥 fix(popup-window): outside-click not working
this commit applies another method of doing this function. The checks happen in the same layer, instead of two layers
This commit is contained in:
@@ -36,6 +36,8 @@ export function CustomDialog(props: CustomDialogProps = {
|
||||
cssBackgroundWindow: props.cssBackground ?? "background: rgba(0, 0, 0, .3);",
|
||||
exclusivity: Astal.Exclusivity.IGNORE,
|
||||
layer: Astal.Layer.OVERLAY,
|
||||
halign: Gtk.Align.CENTER,
|
||||
valign: Gtk.Align.CENTER,
|
||||
widthRequest: props.widthRequest ?? 400,
|
||||
heightRequest: props.heightRequest ?? 220,
|
||||
onDestroy: props.onFinish,
|
||||
|
||||
Reference in New Issue
Block a user