Working on stacked buttons.
This commit is contained in:
+2
-4
@@ -91,8 +91,7 @@ export default class Message extends InteractivePopup {
|
||||
this.x = this.opts.app.size.width / 2 - this.width / 2
|
||||
break
|
||||
case 'right':
|
||||
this.x =
|
||||
this.opts.app.size.width - this.opts.margin - this.width
|
||||
this.x = this.opts.app.size.width - this.opts.margin - this.width
|
||||
break
|
||||
}
|
||||
|
||||
@@ -105,8 +104,7 @@ export default class Message extends InteractivePopup {
|
||||
this.y = this.opts.app.size.height / 2 - this.height / 2
|
||||
break
|
||||
case 'bottom':
|
||||
this.y =
|
||||
this.opts.app.size.height - this.opts.margin - this.height
|
||||
this.y = this.opts.app.size.height - this.opts.margin - this.height
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user