We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 371a6b5 commit 14a9e8cCopy full SHA for 14a9e8c
VisualPinball.Engine.PinMAME.Unity/Editor/PinMameGamelogicEngineInspector.cs
@@ -246,8 +246,8 @@ private void CreateDisplays(IEnumerable<DisplayComponent> sceneDisplays)
246
var tableHeight = 0f;
247
var tableWidth = 1f;
248
if (ta) {
249
- tableHeight = pa.GlassHeight * PlayfieldComponent.GlobalScale;
250
- tableWidth = pa.Width * PlayfieldComponent.GlobalScale;
+ tableHeight = pa.GlassHeight * 0.00053975f; // todo use Physics.ScaleToVpx()
+ tableWidth = pa.Width * 0.00053975f;
251
}
252
253
// get total height
0 commit comments