mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-09 07:56:24 -06:00
FIX:fix keypad ICONS not being centered
Change-Id: I2b20a2f9b95a1970802b51c7dc51d96ece91fce6 (cherry picked from commit bf348670711467f9092f29ddccc8d5eb03dcc18e)
This commit is contained in:
parent
a713573544
commit
a0e2e1e62d
4 changed files with 15 additions and 3 deletions
|
@ -199,6 +199,11 @@ bool GLGizmosManager::init_icon_textures()
|
|||
return true;
|
||||
}
|
||||
|
||||
float GLGizmosManager::get_layout_scale()
|
||||
{
|
||||
return m_layout.scale;
|
||||
}
|
||||
|
||||
bool GLGizmosManager::init_arrow(const BackgroundTexture::Metadata& arrow_texture)
|
||||
{
|
||||
if (m_arrow_texture.texture.get_id() != 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue