[studio] Make clear screen before redraw

This commit is contained in:
2023-06-18 17:56:01 -05:00
parent 47858ef619
commit 0f797a17d5
4 changed files with 10 additions and 13 deletions

View File

@@ -1,11 +0,0 @@
/*
* Copyright 2016 - 2023 Gary Talent (gary@drinkingtea.net). All rights reserved.
*/
#pragma once
#include <studio/module.hpp>
#include <ox/std/memory.hpp>
extern ox::Vector<std::function<ox::UPtr<studio::Module>()>> BuiltinModules;

View File

@@ -5,10 +5,10 @@
#include <imgui.h>
#include <keel/media.hpp>
#include <glutils/glutils.hpp>
#include <turbine/turbine.hpp>
#include <studio/configio.hpp>
#include "builtinmodules.hpp"
#include "clawviewer.hpp"
#include "filedialogmanager.hpp"
#include "studioapp.hpp"
@@ -119,6 +119,7 @@ void StudioUI::handleKeyEvent(turbine::Key key, bool down) noexcept {
}
void StudioUI::draw() noexcept {
glutils::clearScreen();
drawMenu();
drawTabBar();
if (m_showProjectExplorer) {