From be882f04f44e21bb6532d2ecf43de92a1a906415 Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 3 Oct 2018 14:43:38 +0200 Subject: [PATCH] fix #111, add stroke to the color picker for easier visibility --- .../com/simplemobiletools/draw/activities/MainActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/draw/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/draw/activities/MainActivity.kt index 5effa90..01e6c69 100644 --- a/app/src/main/kotlin/com/simplemobiletools/draw/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/draw/activities/MainActivity.kt @@ -403,7 +403,7 @@ class MainActivity : SimpleActivity(), CanvasListener { private fun setColor(pickedColor: Int) { color = pickedColor - color_picker.setBackgroundColor(color) + color_picker.setFillWithStroke(color, config.canvasBackgroundColor.getContrastColor()) my_canvas.setColor(color) isEraserOn = false updateEraserState()