Skip to content

Commit 153fe73

Browse files
committed
Fixed
1 parent bbb1b80 commit 153fe73

4 files changed

Lines changed: 15 additions & 27 deletions

File tree

libs/zing

Submodule zing updated 1 file

settings.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ c_nodeBorderColor = [ 0.0, 0.0, 0.0, 1.0 ]
1414
c_nodeCenterColor = [ 0.5, 0.5, 0.5, 1.0 ]
1515
c_nodeShadowColor = [ 0.10000000149011612, 0.10000000149011612, 0.10000000149011612, 0.5 ]
1616
c_nodeTitleBorderColor = [ 0.319884717464447, 0.319884717464447, 0.319884717464447, 1.0 ]
17-
c_nodeTitleCenterColor = [ 0.5936599373817444, 0.1779268980026245, 0.1779268980026245, 0.699999988079071 ]
17+
c_nodeTitleCenterColor = [ 0.8196078538894653, 0.13725490868091583, 0.13725490868091583, 1.0 ]
1818
c_nodeTitleShadowColor = [ 0.19596540927886963, 0.19596540927886963, 0.19596540927886963, 1.0 ]
1919
c_sliderBorderColor = [ 0.29971182346343994, 0.29971182346343994, 0.29971182346343994, 1.0 ]
2020
c_sliderCenterColor = [ 0.10662823915481567, 0.0845036432147026, 0.0845036432147026, 1.0 ]

src/canvas.cpp

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -31,31 +31,6 @@ Canvas::Canvas(IFontTexture* pFontTexture, float worldScale, const glm::vec2& sc
3131

3232
spFontContext = std::make_shared<FontContext>();
3333
fonts_init(*spFontContext, pFontTexture);
34-
35-
auto& settings = Zest::GlobalSettingsManager::Instance();
36-
auto theme = settings.GetCurrentTheme();
37-
38-
// For connectors around side
39-
// settings.Set(s_nodeOuter, 20.0f);
40-
41-
float margin = 2.0f;
42-
43-
// Title and padding
44-
settings.Set(theme, s_nodeTitleSize, 26.0f);
45-
settings.Set(theme, s_nodeTitleFontPad, 2.0f);
46-
settings.Set(theme, s_nodeBorderRadius, 4.0f);
47-
settings.Set(theme, s_nodeTitleBorderRadius, 8.0f);
48-
settings.Set(theme, s_nodeShadowSize, 4.0f);
49-
50-
settings.Set(theme, s_nodeShadowSize, 2.0f);
51-
settings.Set(theme, c_nodeShadowColor, glm::vec4(0.1f, 0.1f, 0.1f, 0.5f));
52-
settings.Set(theme, c_nodeCenterColor, glm::vec4(0.5f, 0.5f, 0.5f, 1.0f));
53-
54-
settings.Set(theme, s_gridLineSize, 2.0f);
55-
56-
settings.Set(theme, c_gridLines, glm::vec4(0.25f, 0.25f, 0.25f, 1.0f));
57-
58-
settings.Set(theme, c_nodeTitleCenterColor, glm::vec4(0.2f, 0.2f, 0.2f, 0.7f));
5934
}
6035

6136
Canvas::~Canvas()

submit.bat

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
cd libs/zing/libs/zest
2+
git add .
3+
git commit -m %1
4+
git push
5+
cd ../../
6+
git add .
7+
git commit -m %1
8+
git push
9+
cd ../../
10+
git add .
11+
git commit -m %1
12+
git push
13+

0 commit comments

Comments
 (0)