mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -05:00
[Icon] Use horizontal align for x-align option.
Thx SardemFF7 for spotting this.
This commit is contained in:
parent
5b83b2ed23
commit
8d4b8ce5de
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ icon * icon_create ( widget *parent, const char *name )
|
|||
}
|
||||
b->yalign = rofi_theme_get_double ( WIDGET ( b ), "vertical-align", 0.5 );
|
||||
b->yalign = MAX ( 0, MIN ( 1.0, b->yalign ) );
|
||||
b->xalign = rofi_theme_get_double ( WIDGET ( b ), "vertical-align", 0.5 );
|
||||
b->xalign = rofi_theme_get_double ( WIDGET ( b ), "horizontal-align", 0.5 );
|
||||
b->xalign = MAX ( 0, MIN ( 1.0, b->xalign ) );
|
||||
|
||||
return b;
|
||||
|
|
Loading…
Reference in a new issue