fix #159, change the brush size color dynamically at B&W theme

This commit is contained in:
tibbi 2019-11-27 22:53:25 +01:00
parent d8e1b45451
commit a0cf18b0b6
1 changed files with 4 additions and 0 deletions

View File

@ -460,6 +460,10 @@ class MainActivity : SimpleActivity(), CanvasListener {
undo.applyColorFilter(contrastColor)
eraser.applyColorFilter(contrastColor)
redo.applyColorFilter(contrastColor)
if (isBlackAndWhiteTheme()) {
stroke_width_bar.setColors(0, contrastColor, 0)
}
my_canvas.updateBackgroundColor(pickedColor)
defaultExtension = PNG
getBrushPreviewView().setStroke(getBrushStrokeSize(), contrastColor)