Просмотр исходного кода

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

Michael Ragazzon 5 лет назад
Родитель
Сommit
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)
 void ElementContextHook::Initialise(DebuggerPlugin* _debugger)
 {
 {
 	SetId("rmlui-debug-hook");
 	SetId("rmlui-debug-hook");
+	SetProperty(PropertyId::ZIndex, Property(1'000'001, Property::NUMBER));
 	debugger = _debugger;
 	debugger = _debugger;
 }
 }