You can now prefix a size with % and it will do percentage for the size, even over 100.

This commit is contained in:
Zed A. Shaw 2025-02-15 12:52:26 -05:00
parent d558da1620
commit c03a384372
6 changed files with 60 additions and 46 deletions

View file

@ -9,7 +9,7 @@ namespace gui {
$level(level)
{
bool good = $layout.parse(
"[attack1 | =(90)attack2 | attack3 | heal]"
"[attack1 | attack2 | attack3 | heal]"
);
dbc::check(good, "failed to parse combat layout");