summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/GameView.cpp1
-rw-r--r--src/graphics/Graphics.cpp4
2 files changed, 2 insertions, 3 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index d0fde06..b64af05 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -193,7 +193,6 @@ GameView::GameView():
};
loginButton = new ui::Button(ui::Point(Size.X-141, Size.Y-16), ui::Point(92, 15), "[sign in]");
loginButton->Appearance.HorizontalAlign = ui::Appearance::AlignLeft;
- loginButton->Appearance.Margin.Top+=2;
loginButton->SetIcon(IconLogin);
loginButton->SetActionCallback(new LoginAction(this));
AddComponent(loginButton);
diff --git a/src/graphics/Graphics.cpp b/src/graphics/Graphics.cpp
index 73913c5..eb92435 100644
--- a/src/graphics/Graphics.cpp
+++ b/src/graphics/Graphics.cpp
@@ -768,9 +768,9 @@ void Graphics::draw_icon(int x, int y, Icon icon, unsigned char alpha, bool inve
break;
case IconLogin:
if(invert)
- drawchar(x, y, 0x84, 0, 0, 0, alpha);
+ drawchar(x, y+1, 0x84, 0, 0, 0, alpha);
else
- drawchar(x, y, 0x84, 255, 255, 255, alpha);
+ drawchar(x, y+1, 0x84, 255, 255, 255, alpha);
break;
case IconSimulationSettings:
if(invert)