decreased top offset of image add button in the editor. Closes #834

This commit is contained in:
oy 2011-08-13 18:53:41 +02:00
parent 7058726236
commit 4e830a71a1

View file

@ -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);