From 1987f900a05d5447b388d8c30ea3caab69f278d4 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 7 May 2021 08:25:52 +0200 Subject: [PATCH] issue when resizing widget using keyboard shortcuts --- CHANGELOG.md | 8 +++++++- src/client/ui/ui-dragresize.js | 5 +++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88c1b1bc..22888d14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.9.7 + +- bug fixes + - issue when resizing widget using keyboard shortcuts + + ## 1.9.6 - bug fixes @@ -15,7 +21,7 @@ - switch: add `wrap` property - editor - - display dropdown and checkbox for boolean properties with extra choices + - display dropdown and checkbox for boolean properties with extra choices ## 1.9.5 diff --git a/src/client/ui/ui-dragresize.js b/src/client/ui/ui-dragresize.js index 23a15d18..70c425b4 100644 --- a/src/client/ui/ui-dragresize.js +++ b/src/client/ui/ui-dragresize.js @@ -147,6 +147,11 @@ class UiDragResize extends UiWidget { this.updateRectangle() + this.initLeft = this.left + this.initTop = this.top + this.initWidth = this.width + this.initHeight = this.height + this.widgets[0].parentNode.appendChild(this.container) this.mounted = true