fix(ags applauncher): add App to corresponding functions

This commit is contained in:
matt1432 2023-10-15 22:03:20 -04:00
parent c47a13e155
commit bd6eccdc82
2 changed files with 2 additions and 4 deletions

View file

@ -1,6 +1,5 @@
import { App, Applications, Utils, Widget } from '../../imports.js';
const { Label, Box, Icon, Button, Scrollable, Entry, EventBox } = Widget;
const { getWindow } = App
import { Separator } from '../misc/separator.js';
import { PopupWindow } from '../misc/popup.js';
@ -120,10 +119,10 @@ export default PopupWindow({
name: 'applauncher',
child: EventBox({
onHover: () => {
getWindow('applauncher').focusable = true;
App.getWindow('applauncher').focusable = true;
},
onHoverLost: () => {
getWindow('applauncher').focusable = false;
App.getWindow('applauncher').focusable = false;
},
child: Applauncher(),
}),

View file

@ -24,7 +24,6 @@ const Center = player => Box({
CenterBox({
vertical: true,
children: [
Box({
className: 'metadata',
vertical: true,