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:
parent
c6bf5c75bc
commit
4efc47d75a
10 changed files with 16 additions and 10 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue