mirror of
https://github.com/zoriya/ags.git
synced 2026-05-29 17:32:19 +00:00
fix: example anchor
This commit is contained in:
@@ -17,7 +17,7 @@ const Header = () => Widget.Box({
|
||||
|
||||
const NotificationCenter = () => Widget.Window({
|
||||
name: 'notification-center',
|
||||
anchor: 'right top bottom',
|
||||
anchor: ['right', 'top', 'bottom'],
|
||||
popup: true,
|
||||
focusable: true,
|
||||
child: Widget.Box({
|
||||
@@ -40,7 +40,7 @@ const NotificationCenter = () => Widget.Window({
|
||||
|
||||
const NotificationsPopupWindow = () => Widget.Window({
|
||||
name: 'popup-window',
|
||||
anchor: 'top',
|
||||
anchor: ['top'],
|
||||
child: PopupList(),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user