W O R K A R O U N D
adding text fixes the issue
This commit is contained in:
parent
6c5e6c2a0f
commit
c59c176de2
3 changed files with 54 additions and 27 deletions
|
|
@ -17,6 +17,7 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
#include "gui.h"
|
||||
#include <imgui.h>
|
||||
#include <math.h>
|
||||
#include "../ta-log.h"
|
||||
#include "IconsFontAwesome4.h"
|
||||
|
|
@ -123,6 +124,7 @@ void FurnaceGUI::drawSampleEdit() {
|
|||
ImGui::Separator();
|
||||
|
||||
ImVec2 avail=ImGui::GetContentRegionAvail();
|
||||
avail.y-=ImGui::GetFontSize()+ImGui::GetStyle().ItemSpacing.y;
|
||||
int availX=avail.x;
|
||||
int availY=avail.y;
|
||||
|
||||
|
|
@ -192,6 +194,8 @@ void FurnaceGUI::drawSampleEdit() {
|
|||
}
|
||||
|
||||
ImGui::Image(sampleTex,avail);
|
||||
|
||||
ImGui::Text("A workaround! Pretty cool huh?");
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue