Allow floating configuration to capture pointer (#66)

This commit is contained in:
Nic Barker 2024-12-21 06:36:34 +13:00 committed by GitHub
parent b2dba60711
commit 712a79c473
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 39 additions and 8 deletions

View file

@ -154,12 +154,18 @@ FloatingAttachPoints :: struct {
parent: FloatingAttachPointType,
}
PointerCaptureMode :: enum EnumBackingType {
CAPTURE,
PASSTHROUGH,
}
FloatingElementConfig :: struct {
offset: Vector2,
expand: Dimensions,
zIndex: u16,
parentId: u32,
attachment: FloatingAttachPoints,
offset: Vector2,
expand: Dimensions,
zIndex: u16,
parentId: u32,
attachment: FloatingAttachPoints,
pointerCaptureMode: PointerCaptureMode,
}
ElementConfigUnion :: struct #raw_union {

Binary file not shown.

Binary file not shown.

Binary file not shown.