From 80cabc61ee8585aec63df24d7a53d3117fbf6c6f Mon Sep 17 00:00:00 2001 From: Tristan Sommer <43797146+trsommer@users.noreply.github.com> Date: Wed, 24 Sep 2025 01:27:16 +0200 Subject: [PATCH] fix: maskeditor - fixed color select and paint bucket settings not showing up (#5733) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary color select settings and paint bucket settings were not showing up - fixed that ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-5733-fix-maskeditor-fixed-color-select-and-paint-bucket-settings-not-showing-up-2776d73d365081e6be2ddc7784ab8535) by [Unito](https://www.unito.io) --- src/extensions/core/maskeditor.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/extensions/core/maskeditor.ts b/src/extensions/core/maskeditor.ts index 238056f74..2497fd287 100644 --- a/src/extensions/core/maskeditor.ts +++ b/src/extensions/core/maskeditor.ts @@ -3901,6 +3901,19 @@ class UIManager { this.paintBucketSettingsHTML.style.display = 'none' } } + if (tool === Tools.MaskColorFill) { + this.brushSettingsHTML.style.display = 'none' + this.colorSelectSettingsHTML.style.display = 'flex' + this.paintBucketSettingsHTML.style.display = 'none' + } else if (tool === Tools.MaskBucket) { + this.brushSettingsHTML.style.display = 'none' + this.colorSelectSettingsHTML.style.display = 'none' + this.paintBucketSettingsHTML.style.display = 'flex' + } else { + this.brushSettingsHTML.style.display = 'flex' + this.colorSelectSettingsHTML.style.display = 'none' + this.paintBucketSettingsHTML.style.display = 'none' + } this.messageBroker.publish('setTool', tool) this.onToolChange() const newActiveLayer = this.toolSettings[tool].newActiveLayerOnSet