mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:47:34 +00:00
LibCards: Stop calling the card back image a "background" image
It's not a background, past me!
This commit is contained in:
parent
d8e8b300c8
commit
eff25f9116
4 changed files with 10 additions and 10 deletions
|
@ -122,7 +122,7 @@ ErrorOr<void> CardSettingsWidget::initialize()
|
|||
return;
|
||||
m_last_selected_card_back = card_back_selection.first();
|
||||
set_modified(true);
|
||||
Cards::CardPainter::the().set_background_image_path(card_back_image_path());
|
||||
Cards::CardPainter::the().set_back_image_path(card_back_image_path());
|
||||
m_preview_frame->update();
|
||||
};
|
||||
|
||||
|
@ -154,7 +154,7 @@ bool CardSettingsWidget::set_card_back_image_path(StringView path)
|
|||
auto index = static_cast<GUI::FileSystemModel*>(m_card_back_image_view->model())->index(path.to_deprecated_string(), m_card_back_image_view->model_column());
|
||||
if (index.is_valid()) {
|
||||
m_card_back_image_view->set_cursor(index, GUI::AbstractView::SelectionUpdate::Set);
|
||||
Cards::CardPainter::the().set_background_image_path(path);
|
||||
Cards::CardPainter::the().set_back_image_path(path);
|
||||
m_preview_frame->update();
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue