Remove 'all' argument from setrtl
It doesn't make sense to change the alignment of all existing text boxes when you're not otherwise able to mutate the text. Whereas the point of the 'all' argument in setfont is to be able to animate text boxes using fonts.
This commit is contained in:
parent
a9f0d81804
commit
1c6cfcd2a5
|
@ -2510,7 +2510,7 @@ void scriptclass::run(void)
|
|||
{
|
||||
font::set_level_font(raw_words[1].c_str());
|
||||
}
|
||||
if (argexists[2] && words[2] == "all")
|
||||
if (words[0] == "setfont" && argexists[2] && words[2] == "all")
|
||||
{
|
||||
/* Immediately update all text boxes. */
|
||||
uint32_t flags = PR_FONT_IDX(font::font_idx_level, cl.rtl);
|
||||
|
|
Loading…
Reference in New Issue