mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Fixed artifacts on toolbar and gizmobar icons showing up when changing screen or toolbar scale factors
This commit is contained in:
parent
bea82a4501
commit
5b2e2fe7b3
5 changed files with 123 additions and 5 deletions
|
@ -143,7 +143,9 @@ public:
|
|||
void render(unsigned int tex_id, float left, float right, float bottom, float top, unsigned int tex_width, unsigned int tex_height, unsigned int icon_size) const;
|
||||
|
||||
private:
|
||||
#if !ENABLE_MODIFIED_TOOLBAR_TEXTURES
|
||||
GLTexture::Quad_UVs get_uvs(unsigned int tex_width, unsigned int tex_height, unsigned int icon_size) const;
|
||||
#endif // !ENABLE_MODIFIED_TOOLBAR_TEXTURES
|
||||
void set_visible(bool visible) { m_data.visible = visible; }
|
||||
|
||||
friend class GLToolbar;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue