mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
formatter
This commit is contained in:
parent
85d4715313
commit
71780e6d60
@ -2185,7 +2185,7 @@ class SpineWebComponentOverlay extends HTMLElement implements OverlayAttributes,
|
||||
return window.devicePixelRatio / this.scaleDPR;
|
||||
}
|
||||
|
||||
private scaleSkeletonDPR() {
|
||||
private scaleSkeletonDPR () {
|
||||
this.skeletonList.forEach((widget) => {
|
||||
// inside mode scale automatically to fit the skeleton within its parent
|
||||
if (widget.mode !== "origin" && widget.fit !== "none") return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user