GLFW for Node.js
Fixed window.shouldClose
setter.
Updated TS declarations:
Document.setPointerCapture()
.Document.releasePointerCapture()
.doc.icon
now allows unknown
to avoid TS issues.Fixed the captured mouse mode.
Resolved CPP warnings.
Added missing declarations to d.ts:
readonly platformDevice: number;
readonly platformWindow: number;
readonly platformContext: number;
Improved TS declarations:
autoEsc
.Changed default Window size from 800x600 to HD 720.
Added missing events to Document:
pointerdown
(same as mousedown
)pointerup
(same as mouseup
)pointermove
(same as mousemove
)Added missing cursor API to Document:
doc.setPointerCapture()
doc.releasePointerCapture()
Added optional callback onBeforeWindow
to class Window
constructor options. It is called right before creating every new GLFW window within Window
instance - such as on construction and then on entering/leaving fullscreen. It is intended to manually tweak the GLFW window hints.
Updated dependencies.
Upgraded the GitHub build action and added Linux Aarch64 support.