Add transparent background to the existing Display Layout Editor.

This commit is contained in:
Henrik Rydgård committed 2022-11-22 14:16:24 +01:00
1 parent f0a905cadd
commit b80df6c360
8 files changed
+23 -14

No files matched your search

+4 -1
View File
@@ -90,9 +90,12 @@ std::string DragDropDisplay::DescribeText() const {
return u->T("Screen representation");
}
DisplayLayoutScreen::DisplayLayoutScreen() {
DisplayLayoutScreen::DisplayLayoutScreen(const Path &filename) : UIDialogScreenWithGameBackground(filename) {
// Ignore insets - just couldn't get the logic to work.
ignoreInsets_ = true;
// Show background at full brightness
darkenGameBackground_ = false;
}
bool DisplayLayoutScreen::touch(const TouchInput &touch) {