fix weird focus for slideleft & slideright (#502)

This commit is contained in:
end-4
2024-05-18 19:30:51 +07:00
parent ecfacef55f
commit ec69988c05
6 changed files with 28 additions and 10 deletions
+9 -1
View File
@@ -1,10 +1,18 @@
import PopupWindow from '../.widgethacks/popupwindow.js';
import SidebarRight from "./sideright.js";
import Widget from 'resource:///com/github/Aylur/ags/widget.js';
const { Box } = Widget;
import clickCloseRegion from '../.commonwidgets/clickcloseregion.js';
export default () => PopupWindow({
keymode: 'on-demand',
anchor: ['right', 'top', 'bottom'],
name: 'sideright',
layer: 'overlay',
child: SidebarRight(),
child: Box({
children: [
clickCloseRegion({ name: 'sideright', multimonitor: false, fillMonitor: 'horizontal' }),
SidebarRight(),
]
})
});