fix(ags network qs): PR was merged

This commit is contained in:
matt1432 2023-12-04 17:48:56 -05:00
parent 89cc58175f
commit 45b486b7a1
2 changed files with 3 additions and 3 deletions

View file

@ -2,13 +2,11 @@ import App from 'resource:///com/github/Aylur/ags/app.js';
import Network from 'resource:///com/github/Aylur/ags/service/network.js'; import Network from 'resource:///com/github/Aylur/ags/service/network.js';
import Variable from 'resource:///com/github/Aylur/ags/variable.js'; import Variable from 'resource:///com/github/Aylur/ags/variable.js';
import { Box, Icon, Label, Overlay, Revealer, Scrollable, Widget } from 'resource:///com/github/Aylur/ags/widget.js'; import { Box, Icon, Label, ListBox, Overlay, Revealer, Scrollable } from 'resource:///com/github/Aylur/ags/widget.js';
import { execAsync } from 'resource:///com/github/Aylur/ags/utils.js'; import { execAsync } from 'resource:///com/github/Aylur/ags/utils.js';
import EventBox from '../misc/cursorbox.js'; import EventBox from '../misc/cursorbox.js';
// FIXME: wait for https://github.com/Aylur/ags/pull/199
const ListBox = Widget.subclass(imports.gi.Gtk.ListBox);
const SCROLL_THRESHOLD_H = 200; const SCROLL_THRESHOLD_H = 200;
const SCROLL_THRESHOLD_N = 7; const SCROLL_THRESHOLD_N = 7;
@ -65,6 +63,7 @@ const AccessPoint = (ap) => {
export const NetworkMenu = () => { export const NetworkMenu = () => {
const APList = new Map(); const APList = new Map();
const topArrow = Revealer({ const topArrow = Revealer({
transition: 'slide_down',
child: Icon({ child: Icon({
icon: `${App.configDir }/icons/down-large.svg`, icon: `${App.configDir }/icons/down-large.svg`,
className: 'scrolled-indicator', className: 'scrolled-indicator',
@ -74,6 +73,7 @@ export const NetworkMenu = () => {
}); });
const bottomArrow = Revealer({ const bottomArrow = Revealer({
transition: 'slide_up',
child: Icon({ child: Icon({
icon: `${App.configDir }/icons/down-large.svg`, icon: `${App.configDir }/icons/down-large.svg`,
className: 'scrolled-indicator', className: 'scrolled-indicator',

Binary file not shown.