Fix show brush size tool

This commit is contained in:
MohitMali 2022-11-14 12:46:37 +05:30
parent a2d1ee4e93
commit 38b2770a06
1 changed files with 2 additions and 1 deletions

View File

@ -408,7 +408,8 @@ class MainActivity : SimpleActivity(), CanvasListener {
}
private fun updateButtonStates() {
hideBrushSettings(isEyeDropperOn || isBucketFillOn)
if (config.showBrushSize)
hideBrushSettings(isEyeDropperOn || isBucketFillOn)
updateButtonColor(eraser, isEraserOn)
updateButtonColor(eye_dropper, isEyeDropperOn)