update the stroke width bar color on app launch too in some cases
This commit is contained in:
parent
a0cf18b0b6
commit
9f02a0557c
1 changed files with 4 additions and 0 deletions
|
@ -94,6 +94,10 @@ class MainActivity : SimpleActivity(), CanvasListener {
|
|||
stroke_width_preview.beVisibleIf(isShowBrushSizeEnabled)
|
||||
my_canvas.setAllowZooming(config.allowZoomingCanvas)
|
||||
updateTextColors(main_holder)
|
||||
if (isBlackAndWhiteTheme()) {
|
||||
stroke_width_bar.setColors(0, config.canvasBackgroundColor.getContrastColor(), 0)
|
||||
}
|
||||
|
||||
if (config.preventPhoneFromSleeping) {
|
||||
window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue