mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
decreased top offset of image add button in the editor. Closes #834
This commit is contained in:
parent
7058726236
commit
4e830a71a1
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue