diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp index d0fde061b..b64af05a2 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 73913c5f1..eb924355a 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)