소스 검색

Fix debugger not drawing on top of documents with a high z-index.

Michael Ragazzon 5 년 전
부모
커밋
9c55b5d1e9
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Source/Debugger/ElementContextHook.cpp

+ 1 - 0
Source/Debugger/ElementContextHook.cpp

@@ -44,6 +44,7 @@ ElementContextHook::~ElementContextHook()
 void ElementContextHook::Initialise(DebuggerPlugin* _debugger)
 {
 	SetId("rmlui-debug-hook");
+	SetProperty(PropertyId::ZIndex, Property(1'000'001, Property::NUMBER));
 	debugger = _debugger;
 }