瀏覽代碼

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;
 }