fix #111, add stroke to the color picker for easier visibility
This commit is contained in:
parent
1ff730c140
commit
be882f04f4
|
@ -403,7 +403,7 @@ class MainActivity : SimpleActivity(), CanvasListener {
|
||||||
|
|
||||||
private fun setColor(pickedColor: Int) {
|
private fun setColor(pickedColor: Int) {
|
||||||
color = pickedColor
|
color = pickedColor
|
||||||
color_picker.setBackgroundColor(color)
|
color_picker.setFillWithStroke(color, config.canvasBackgroundColor.getContrastColor())
|
||||||
my_canvas.setColor(color)
|
my_canvas.setColor(color)
|
||||||
isEraserOn = false
|
isEraserOn = false
|
||||||
updateEraserState()
|
updateEraserState()
|
||||||
|
|
Loading…
Reference in New Issue