@ -421,8 +421,8 @@ namespace Fungus
}
else
{
summaryRect.x += commandNameWidth;
summaryRect.width -= commandNameWidth;
summaryRect.x += commandNameWidth + 20;
summaryRect.width -= commandNameWidth + 20;
summaryRect.width -= 5;
@ -66,10 +66,12 @@ namespace Fungus
GUI.BeginGroup(clippedArea);
_prevGuiMatrix = GUI.matrix;
Matrix4x4 translation = Matrix4x4.TRS(clippedArea.TopLeft(), Quaternion.identity, Vector3.one);
Matrix4x4 scale = Matrix4x4.Scale(new Vector3(zoomScale, zoomScale, 1.0f));
GUI.matrix = translation * scale * translation.inverse * GUI.matrix;
return clippedArea;