mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-28 02:21:28 +00:00
GUI: set a minimum window size for the ins editor
This commit is contained in:
parent
4b43694db0
commit
e10f61eda2
1 changed files with 1 additions and 0 deletions
|
@ -708,6 +708,7 @@ const char* ssgEnvTypes[8]={
|
|||
|
||||
void FurnaceGUI::drawInsEdit() {
|
||||
if (!insEditOpen) return;
|
||||
ImGui::SetNextWindowSizeConstraints(ImVec2(440.0f*dpiScale,400.0f*dpiScale),ImVec2(scrW*dpiScale,scrH*dpiScale));
|
||||
if (ImGui::Begin("Instrument Editor",&insEditOpen,ImGuiWindowFlags_NoDocking)) {
|
||||
if (curIns<0 || curIns>=(int)e->song.ins.size()) {
|
||||
ImGui::Text("no instrument selected");
|
||||
|
|
Loading…
Reference in a new issue