widget: don't trigger resize when only position changes

This commit is contained in:
jean-emmanuel 2018-10-19 10:39:37 +02:00
parent 20c3fb701f
commit 0ac6e67139

View file

@ -581,6 +581,9 @@ class Widget extends EventEmitter {
case 'top':
case 'left':
this.setContainerStyles(['geometry'])
return
case 'height':
case 'width':
this.setContainerStyles(['geometry'])