mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX:romove font style preview
Change-Id: I1e8f2ffd94db967f17fa561fd5c56a20f718631b
This commit is contained in:
parent
4ea3d16fcc
commit
1da9bfcc13
5 changed files with 76 additions and 75 deletions
|
@ -32,7 +32,7 @@ GLGizmoText::GLGizmoText(GLCanvas3D& parent, const std::string& icon_filename, u
|
|||
|
||||
bool GLGizmoText::on_init()
|
||||
{
|
||||
init_occt_fonts();
|
||||
m_avail_font_names = init_occt_fonts();
|
||||
m_shortcut_key = WXK_CONTROL_T;
|
||||
return true;
|
||||
}
|
||||
|
@ -138,8 +138,6 @@ void GLGizmoText::pop_combo_style()
|
|||
// BBS
|
||||
void GLGizmoText::on_render_input_window(float x, float y, float bottom_limit)
|
||||
{
|
||||
std::vector<std::string> m_avail_font_names = wxGetApp().imgui()->get_fonts_names();
|
||||
|
||||
const float win_h = ImGui::GetWindowHeight();
|
||||
y = std::min(y, bottom_limit - win_h);
|
||||
GizmoImguiSetNextWIndowPos(x, y, ImGuiCond_Always, 0.0f, 0.0f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue