Update Windows frame overhang constants for improved window rendering
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
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:
parent
517921f3e3
commit
b2c116c78a
@ -11,10 +11,10 @@ const WIN32_FRAME_OVERHANG_NATIVE = {
|
|||||||
height: 8
|
height: 8
|
||||||
}
|
}
|
||||||
const WIN32_FRAME_OVERHANG_CEF = {
|
const WIN32_FRAME_OVERHANG_CEF = {
|
||||||
x: -10,
|
x: -12,
|
||||||
y: 0,
|
y: 0,
|
||||||
width: 20,
|
width: 24,
|
||||||
height: 10
|
height: 12
|
||||||
}
|
}
|
||||||
|
|
||||||
function getWin32FrameOverhang(window) {
|
function getWin32FrameOverhang(window) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user