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 SidebarLeft from "./sideleft.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: ['left', 'top', 'bottom'],
name: 'sideleft',
layer: 'overlay',
child: SidebarLeft(),
child: Box({
children: [
SidebarLeft(),
clickCloseRegion({ name: 'sideleft', multimonitor: false, fillMonitor: 'horizontal' }),
]
})
});
-1
View File
@@ -74,7 +74,6 @@ export const widgetContent = TabContainer({
export default () => Box({
// vertical: true,
vexpand: true,
hexpand: true,
css: 'min-width: 2px;',
children: [
widgetContent,