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 26693153f2
commit 04548b98d0

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'])