refactor(config): Drop boost::property_tree
This commit is contained in:
parent
8da52af6a2
commit
d45fd76dcd
8 changed files with 277 additions and 117 deletions
src/components
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue