Merge pull request #253 from MohitMaliFtechiz/Issue#252
Fix show brush size tool
This commit is contained in:
commit
54f28fc1f9
|
@ -408,7 +408,9 @@ class MainActivity : SimpleActivity(), CanvasListener {
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun updateButtonStates() {
|
private fun updateButtonStates() {
|
||||||
|
if (config.showBrushSize) {
|
||||||
hideBrushSettings(isEyeDropperOn || isBucketFillOn)
|
hideBrushSettings(isEyeDropperOn || isBucketFillOn)
|
||||||
|
}
|
||||||
|
|
||||||
updateButtonColor(eraser, isEraserOn)
|
updateButtonColor(eraser, isEraserOn)
|
||||||
updateButtonColor(eye_dropper, isEyeDropperOn)
|
updateButtonColor(eye_dropper, isEyeDropperOn)
|
||||||
|
|
Loading…
Reference in New Issue