mirror of
https://github.com/ErikReider/SwayNotificationCenter.git
synced 2024-11-29 05:36:57 +03:00
Added default case to Positions in notification and notificationWindow
This commit is contained in:
parent
fa9f4879cf
commit
8ca741e4aa
@ -175,6 +175,7 @@ namespace SwayNotificationCenter {
|
||||
this.carousel.reorder (event_box, 0);
|
||||
this.carousel_empty_widget_index = 1;
|
||||
break;
|
||||
default:
|
||||
case PositionX.RIGHT:
|
||||
case PositionX.CENTER:
|
||||
this.carousel.scroll_to (event_box);
|
||||
|
@ -88,6 +88,7 @@ namespace SwayNotificationCenter {
|
||||
this, GtkLayerShell.Edge.BOTTOM, true);
|
||||
list_reverse = true;
|
||||
break;
|
||||
default:
|
||||
case PositionY.TOP:
|
||||
list_reverse = false;
|
||||
GtkLayerShell.set_anchor (
|
||||
|
Loading…
Reference in New Issue
Block a user