mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
fix position of window
This commit is contained in:
parent
21fd35d243
commit
268b06bdbb
2 changed files with 38 additions and 11 deletions
|
@ -41,6 +41,7 @@ protected:
|
|||
virtual void on_render_input_window(float x, float y, float bottom_limit) override;
|
||||
virtual bool on_is_activable() const override;
|
||||
virtual bool on_is_selectable() const override { return false; }
|
||||
virtual void on_set_state() override;
|
||||
|
||||
private:
|
||||
void close();
|
||||
|
@ -78,6 +79,7 @@ private:
|
|||
int input_width = 100;
|
||||
int input_small_width = 80;
|
||||
int window_offset = 100;
|
||||
int window_padding = 0;
|
||||
};
|
||||
std::optional<GuiCfg> gui_cfg;
|
||||
void create_gui_cfg();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue