Few more quick rendering fixes

This commit is contained in:
KillzXGaming 2019-09-16 20:13:07 -04:00
parent 1198e3de6d
commit 7677822665
2 changed files with 3 additions and 3 deletions

View file

@ -323,7 +323,7 @@ namespace LayoutBXLYT
float contentWidth = ((window.StretchLeft + (pane.Width - frameLeft)) - frameRight) + window.StretchRight;
float contentHeight = ((window.StretchTop + (pane.Height - frameTop)) - frameBottom) + window.StretchBottm;
if (!window.NotDrawnContent)
if (!window.NotDrawnContent && window.WindowKind != WindowKind.HorizontalNoContent)
{
SetupShaders(window.Content.Material, Textures);
DrawQuad(dX + frameLeft - window.StretchLeft,

View file

@ -73,9 +73,9 @@ namespace LayoutBXLYT
float shiftX = 0;
float shiftY = 0;
if (transform.Scale.X < 0)
shiftX = 1;
shiftX = -1;
if (transform.Scale.Y < 0)
shiftY = 1;
shiftY = -1;
SetVec2("uvScale0",new Vector2(transform.Scale.X, transform.Scale.Y));
SetFloat("uvRotate0", transform.Rotate);