From 66c97469864d0e3538355dd993c2e8356e1aa34d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 6 Nov 2020 22:15:46 +0100 Subject: [PATCH] Platform: switch Emscripten app tests to use CSS classes instead of IDs. Can confirm this worked before and works now as well. --- .../Platform/Test/EmscriptenApplicationTest.cpp | 2 +- .../Platform/Test/EmscriptenApplicationTest.html | 10 +++++----- src/Magnum/Platform/Test/Sdl2ApplicationTest.cpp | 2 +- src/Magnum/Platform/Test/Sdl2ApplicationTest.html | 10 +++++----- .../Platform/Test/WindowlessEglApplicationTest.html | 12 ++++++------ 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/Magnum/Platform/Test/EmscriptenApplicationTest.cpp b/src/Magnum/Platform/Test/EmscriptenApplicationTest.cpp index 7b2563b65..4ad684d6e 100644 --- a/src/Magnum/Platform/Test/EmscriptenApplicationTest.cpp +++ b/src/Magnum/Platform/Test/EmscriptenApplicationTest.cpp @@ -101,7 +101,7 @@ struct EmscriptenApplicationTest: Platform::Application { stopTextInput(); } else if(event.key() == KeyEvent::Key::F) { Debug{} << "toggling fullscreen"; - setContainerCssClass((_fullscreen ^= true) ? "fullsize" : ""); + setContainerCssClass((_fullscreen ^= true) ? "mn-fullsize" : ""); } else if(event.key() == KeyEvent::Key::T) { Debug{} << "setting window title"; setWindowTitle("This is a UTF-8 Window Titleā„¢!"); diff --git a/src/Magnum/Platform/Test/EmscriptenApplicationTest.html b/src/Magnum/Platform/Test/EmscriptenApplicationTest.html index f4e616e0a..5acdbfe99 100644 --- a/src/Magnum/Platform/Test/EmscriptenApplicationTest.html +++ b/src/Magnum/Platform/Test/EmscriptenApplicationTest.html @@ -8,11 +8,11 @@

Magnum EmscriptenApplication Test

-
-
- -
Initialization...
-
+
+
+ +
Initialization...
+