Update Windows frame overhang constants for improved window rendering
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good

- Adjusted the CEF frame overhang constants to better align with native window dimensions, enhancing the accuracy of window positioning and rendering in the application.
- Increased the width and height values to accommodate changes in window management.
This commit is contained in:
Tom Butcher 2026-08-09 15:58:26 +01:00
parent 517921f3e3
commit b2c116c78a

View File

@ -11,10 +11,10 @@ const WIN32_FRAME_OVERHANG_NATIVE = {
height: 8
}
const WIN32_FRAME_OVERHANG_CEF = {
x: -10,
x: -12,
y: 0,
width: 20,
height: 10
width: 24,
height: 12
}
function getWin32FrameOverhang(window) {