about summary refs log tree commit diff
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-08-13 18:53:41 +0200
committeroy <Tom_Adams@web.de>2011-08-13 18:53:41 +0200
commit4e830a71a1334a6f47ab4b3fb3cf44419a240f25 (patch)
treec9e0fda8c1f615c2e4beef9f1780e980165e900e
parent705872623660783e851b33e361d687c02c3e24e9 (diff)
downloadzcatch-4e830a71a1334a6f47ab4b3fb3cf44419a240f25.tar.gz
zcatch-4e830a71a1334a6f47ab4b3fb3cf44419a240f25.zip
decreased top offset of image add button in the editor. Closes #834
-rw-r--r--src/game/editor/editor.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/game/editor/editor.cpp b/src/game/editor/editor.cpp
index b7c1d0cb..0b638aeb 100644
--- a/src/game/editor/editor.cpp
+++ b/src/game/editor/editor.cpp
@@ -2448,7 +2448,6 @@ void CEditor::RenderImages(CUIRect ToolBox, CUIRect ToolBar, CUIRect View)
 
 	// new image
 	static int s_NewImageButton = 0;
-	ToolBox.HSplitTop(10.0f, &Slot, &ToolBox);
 	ToolBox.HSplitTop(12.0f, &Slot, &ToolBox);
 	if(DoButton_Editor(&s_NewImageButton, "Add", 0, &Slot, 0, "Load a new image to use in the map"))
 		InvokeFileDialog(IStorage::TYPE_ALL, FILETYPE_IMG, "Add Image", "Add", "mapres", "", AddImage, this);