diff --git a/CMakeLists.txt b/CMakeLists.txt index 96ebf13..140c235 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -131,6 +131,7 @@ target_include_directories(MMRecomp PRIVATE ${CMAKE_SOURCE_DIR}/lib/RT64-HLE/src/contrib ${CMAKE_SOURCE_DIR}/lib/RT64-HLE/src/contrib/mupen64plus-win32-deps/SDL2-2.26.3/include ${CMAKE_SOURCE_DIR}/lib/RT64-HLE/src/contrib/hlslpp/include + ${CMAKE_SOURCE_DIR}/lib/RT64-HLE/src/contrib/dxc/inc ${CMAKE_SOURCE_DIR}/lib/RT64-HLE/src ${CMAKE_SOURCE_DIR}/lib/RT64-HLE/src/rhi ${CMAKE_SOURCE_DIR}/lib/RT64-HLE/src/render diff --git a/src/ui/ui_renderer.cpp b/src/ui/ui_renderer.cpp index 890e99d..ecfa78c 100644 --- a/src/ui/ui_renderer.cpp +++ b/src/ui/ui_renderer.cpp @@ -565,7 +565,7 @@ public: }; bool can_focus(Rml::Element* element) { - return element->GetOwnerDocument() != nullptr && element->GetProperty(Rml::PropertyId::TabIndex)->Get() != Rml::Property(Rml::Style::TabIndex::None); + return element->GetOwnerDocument() != nullptr && element->GetProperty(Rml::PropertyId::TabIndex)->Get() != Rml::Style::TabIndex::None; } Rml::Element* get_target(Rml::ElementDocument* document, Rml::Element* element) {