Skip to content

Commit 14a9e8c

Browse files
committed
fix: Compilation error.
1 parent 371a6b5 commit 14a9e8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

VisualPinball.Engine.PinMAME.Unity/Editor/PinMameGamelogicEngineInspector.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ private void CreateDisplays(IEnumerable<DisplayComponent> sceneDisplays)
246246
var tableHeight = 0f;
247247
var tableWidth = 1f;
248248
if (ta) {
249-
tableHeight = pa.GlassHeight * PlayfieldComponent.GlobalScale;
250-
tableWidth = pa.Width * PlayfieldComponent.GlobalScale;
249+
tableHeight = pa.GlassHeight * 0.00053975f; // todo use Physics.ScaleToVpx()
250+
tableWidth = pa.Width * 0.00053975f;
251251
}
252252

253253
// get total height

0 commit comments

Comments
 (0)