Added bookmark list item
This commit is contained in:
parent
4640158343
commit
8defbe7569
4 changed files with 108 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ void CanvasTheme::init() {
|
|||
|
||||
SkColor4f CanvasTheme::get_back_color() const {
|
||||
if(!backColor)
|
||||
return SkColor4f{DEFAULT_CANVAS_BACKGROUND_COLOR.x(), DEFAULT_CANVAS_BACKGROUND_COLOR.y(), DEFAULT_CANVAS_BACKGROUND_COLOR.z(), 1.0f};
|
||||
return SkColor4f{world.main.defaultCanvasBackgroundColor.x(), world.main.defaultCanvasBackgroundColor.y(), world.main.defaultCanvasBackgroundColor.z(), 1.0f};
|
||||
else
|
||||
return SkColor4f{backColor->c.x(), backColor->c.y(), backColor->c.z(), 1.0f};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue