mirror of
https://github.com/polybar/polybar.git
synced 2026-03-13 19:55:26 +00:00
refactor(config): Drop boost::property_tree
This commit is contained in:
@ -276,7 +276,7 @@ void bar::bootstrap_tray() {
|
||||
settings.orig_y = m_opts.pos.y + m_opts.borders.at(edge::TOP).size;
|
||||
|
||||
// Apply user-defined scaling
|
||||
auto scale = m_conf.get<float>(bs, "tray-scale", 1.0);
|
||||
auto scale = m_conf.get<float>(bs, "tray-scale", 1.0f);
|
||||
settings.width *= scale;
|
||||
settings.height_fill *= scale;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user