Davide Tantillo
867557f743
onScreenManualStart to startWhenVisible. startWhenVisible set manualStart to true.
2025-05-09 15:40:38 +02:00
Davide Tantillo
a6887006be
Update other names.
2025-05-09 15:40:38 +02:00
Davide Tantillo
035a08e1a9
for each to for of.
2025-05-09 15:40:38 +02:00
Davide Tantillo
fe04ebeb56
callbacks renamed consistently.
2025-05-09 15:40:38 +02:00
Davide Tantillo
82d09045e5
Better comments and variable names for canvas resize related stuff.
2025-05-09 15:40:38 +02:00
Davide Tantillo
5c32aae3f1
Properties rename.
2025-05-09 15:40:38 +02:00
Davide Tantillo
dff3b66d26
dpi to dpr and transform DPR to DevicePixelRatio when needed. Add @internal tag to internal fields.
2025-05-09 15:40:38 +02:00
Davide Tantillo
5bf75239d9
recalculateBounds and autoRecalculateBounds to calculateBounds and autoCalculateBounds.
2025-05-09 15:40:38 +02:00
Davide Tantillo
e5a4bccb69
getHTMLElementReference to getHostElement.
2025-05-09 15:40:38 +02:00
Davide Tantillo
15375fb20c
Update bounds and slot interaction method names.
2025-05-09 15:40:38 +02:00
Davide Tantillo
0c90eed036
scrollable-tweak-off changed to no-auto-parent-transform.
2025-05-09 15:40:38 +02:00
Davide Tantillo
0ac2c1e470
Change scrollable to appendedToBody, make it private and determine it at dom connect.
2025-05-09 15:40:38 +02:00
Davide Tantillo
7759b501e5
Make overlayAssignedPromise private.
2025-05-09 15:40:38 +02:00
Davide Tantillo
b1370ceae3
food app and cleanup
2025-05-09 15:40:38 +02:00
Davide Tantillo
49afa43d8f
Fixed issues with slot events on mobile.
2025-05-09 15:40:38 +02:00
Davide Tantillo
c8b0272ca8
Overlay needs to consider border if it's scrollable.
2025-05-09 15:40:38 +02:00
Davide Tantillo
197571e671
Overlay parent bounding box determined only if necessary.
2025-05-09 15:40:38 +02:00
Davide Tantillo
ec314953bb
Overlay should load not for DOMContentLoaded event only if document has already complete loading.
2025-05-09 15:40:38 +02:00
Davide Tantillo
f3612e73cf
Fixed overlay disconnectedCallback.
2025-05-09 15:40:38 +02:00
Davide Tantillo
71780e6d60
formatter
2025-05-09 15:40:38 +02:00
Davide Tantillo
85d4715313
Move getBounding in scrollable case.
2025-05-09 15:40:38 +02:00
Davide Tantillo
1233d876a3
Temporarily add windmill only manually to webgl assets
2025-05-09 15:40:38 +02:00
Davide Tantillo
d4aeb9a608
Add interactive widget example.
2025-05-09 15:40:38 +02:00
Davide Tantillo
2a6b424a1c
Resize overlay when follow slot element is added.
2025-05-09 15:40:38 +02:00
Davide Tantillo
40724dd52e
Fixed slot interaction issue.
2025-05-09 15:40:38 +02:00
Davide Tantillo
29a30a07c1
Fixed multiple click events on mobile touches. Add team example.
2025-05-09 15:40:38 +02:00
Davide Tantillo
3a279d2ff0
Update tutorial.
2025-05-09 15:40:38 +02:00
Davide Tantillo
34acafb254
Prevent error on disconnected callback
2025-05-09 15:40:38 +02:00
Davide Tantillo
04eb82e8b6
Prevent useless resize.
2025-05-09 15:40:38 +02:00
Davide Tantillo
e02f495883
format
2025-05-09 15:40:38 +02:00
Davide Tantillo
c4d419caf9
Add rawData attribute to pass s stringified JSON object for inline base64 assets.
2025-05-09 15:40:38 +02:00
Davide Tantillo
23ece7f4da
Pma properties on atlas is used to detect pma textures.
2025-05-09 15:40:38 +02:00
Davide Tantillo
69e4d365e0
Reduce DPI if canvas is too big to avoid page crash - this happen on webpage on mobile with high dpi and missing meta viewport tag with width=device-width.
2025-05-09 15:40:38 +02:00
Davide Tantillo
961e377ec9
Made overlay canvas size consistent across different browsers. Base size is not anymore the screen size due to browser limitations, but the window size. This will trigger additional canvas resize on window resize.
2025-05-09 15:40:38 +02:00
Davide Tantillo
6671cac372
Original event is passed to bounds and slot callbacks.
2025-05-09 15:40:38 +02:00
Davide Tantillo
a46e76b1d7
Add animations, animations-bound and default-mix attributes.
2025-05-09 15:40:38 +02:00
Davide Tantillo
a636ef0964
Add followSlot method
2025-05-09 15:40:38 +02:00
Davide Tantillo
f9d73920d2
Fix physicsTranslate y opposite direction while dragging.
2025-05-09 15:40:38 +02:00
Davide Tantillo
3dd4e91ff5
Fixed a bug where an infinite loop occurred in Firefox when compareDocumentPosition results in DOCUMENT_POSITION_DISCONNECTED.
...
In both Chrome and Firefox, when an element is inside a webcomponent the comparison results in DOCUMENT_POSITION_DISCONNECTED. But in Firefox the element result in DOCUMENT_POSITION_FOLLOWING too, leading to an infinite loop.
2025-05-09 15:40:38 +02:00
Davide Tantillo
4d795da488
Add interactivity events.
2025-05-09 15:40:38 +02:00
Davide Tantillo
598fcc5cf4
WIP - Add interactivity events. isdraggable is currently broken.
2025-05-09 15:40:38 +02:00
Davide Tantillo
f7316acef5
Simplified drag calculation and drag debug removing an additional div.
2025-05-09 15:40:38 +02:00
Davide Tantillo
89976b7f48
Simplified clip to div by using scissor rather than changing viewport+camera.
...
In this way we can treat coordinates equally for cliped and not clipped widgets!
2025-05-09 15:40:38 +02:00
Davide Tantillo
2b6e1ff578
Allow multiple widgets for the same HTMLElement
2025-05-09 15:40:37 +02:00
Davide Tantillo
f9bada6d0c
Merge branch '4.2' into ts-webgl-overlay
2025-05-09 15:40:37 +02:00
Davide Tantillo
69cc3e81c1
[ts] Release 4.2.81
2025-05-08 13:01:28 +02:00
Davide Tantillo
e553d71807
[ts][pixi-v8] Spine allowChildren to true to prevent deprecation warning. Close #2841 .
2025-05-08 12:54:58 +02:00
Mario Zechner
c9aca368d6
[ts] Port of #2837
2025-05-07 13:17:43 +02:00
Davide Tantillo
6654484a33
[ts] Release 4.2.80
2025-04-24 16:08:06 +02:00
Davide Tantillo
1530550acd
[ts][pixi-v7][pixi-v8] Fixed slot objects ignoring negative parent bone scale. See #2818 .
2025-04-24 16:03:25 +02:00