mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-12 08:00:55 +02:00
Refactored scroll dimensions, fixed a crash were you would click on non existent tiles, editor now displays splash initially until you do new scenario or load a existing one.
This commit is contained in:
@@ -38,6 +38,12 @@ void SidebarEditor::draw_it(void) {
|
||||
ImGuiStyle& style = ImGui::GetStyle();
|
||||
style.FramePadding = ImVec2(0, 0);
|
||||
|
||||
if (Debug_RenderEditorSplash)
|
||||
{
|
||||
static Image_t* edwinBackground = Image_LoadImage("ui/edwin/eng_edhi.png");
|
||||
GL_RenderImage(edwinBackground, 0, 0, ScreenWidth, ScreenHeight);
|
||||
}
|
||||
|
||||
Debug_LockScroll = false;
|
||||
if (ImGui::BeginMainMenuBar())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user