2021-03-07

+ IScriptable can now be disabled instancewise
+ IShowItem can disable rendering.

~ SM.Base.Mesh has now ILineMesh

- IGenericWindow.AspectRatioReverse
This commit is contained in:
Michel Fedde 2021-03-07 12:30:54 +01:00
parent c6bf5c75bc
commit 4efc47d75a
10 changed files with 16 additions and 10 deletions

View file

@ -61,7 +61,7 @@ namespace SM2D.Scene
{
if (RequestedWorldScale.HasValue)
{
float aspect = window.Width > window.Height ? window.AspectRatio : window.AspectRatioReverse;
float aspect = window.AspectRatio;
Vector2 requested = RequestedWorldScale.Value;
if (requested.X > 0 && requested.Y > 0)