fix #159, change the brush size color dynamically at B&W theme
This commit is contained in:
parent
d8e1b45451
commit
a0cf18b0b6
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue