Skip to content

Commit

Permalink
artboard: Remove button border on logo screen
Browse files Browse the repository at this point in the history
  • Loading branch information
foxnne committed Dec 13, 2024
1 parent a91bd99 commit 83a5f6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/editor/artboard/artboard.zig
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,11 @@ pub fn draw(core: *Core) void {

pub fn drawLogoScreen() void {
imgui.pushStyleColorImVec4(imgui.Col_Button, pixi.state.theme.background.toImguiVec4());
imgui.pushStyleColorImVec4(imgui.Col_Border, pixi.state.theme.background.toImguiVec4());
imgui.pushStyleColorImVec4(imgui.Col_ButtonActive, pixi.state.theme.background.toImguiVec4());
imgui.pushStyleColorImVec4(imgui.Col_ButtonHovered, pixi.state.theme.foreground.toImguiVec4());
imgui.pushStyleColorImVec4(imgui.Col_Text, pixi.state.theme.text_background.toImguiVec4());
defer imgui.popStyleColorEx(4);
defer imgui.popStyleColorEx(5);
{ // Draw semi-transparent logo
const logo_sprite = pixi.state.assets.atlas.sprites[pixi.assets.pixi_atlas.logo_0_default];

Expand Down

0 comments on commit 83a5f6b

Please sign in to comment.