Fix show brush size tool
This commit is contained in:
Tibor Kaputa 2022-11-14 15:45:16 +01:00 committed by GitHub
commit 54f28fc1f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

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