Skip to content

Commit

Permalink
fix interfacelayer not applying stretching when load_image is called …
Browse files Browse the repository at this point in the history
…(reload theme, chat arrows, etc.)
  • Loading branch information
Crystalwarrior committed Apr 23, 2021
1 parent 433b7f3 commit 8d9331a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/aolayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ void EffectLayer::load_image(QString p_filename, bool p_looping)

void InterfaceLayer::load_image(QString p_filename, QString p_miscname)
{
last_path = "";
stretch = true;
QString final_image = ao_app->get_image(p_filename, ao_app->current_theme, ao_app->get_subtheme(), ao_app->default_theme, p_miscname);
start_playback(final_image);
Expand Down

0 comments on commit 8d9331a

Please sign in to comment.