mirror of
https://github.com/Boof2015/prism.git
synced 2026-08-16 08:10:40 +02:00
fix windows window issues
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <napi.h>
|
||||
|
||||
// Registers the `windowChrome` export. On Windows it exposes `applyFlatFrame`,
|
||||
// which strips the visible native frame/shadow from a frameless WS_THICKFRAME
|
||||
// window while preserving native Aero Snap and edge resize. On other platforms
|
||||
// it registers a no-op so the JS surface stays uniform.
|
||||
void RegisterWindowChrome(Napi::Env env, Napi::Object exports);
|
||||
Reference in New Issue
Block a user