|
@@ -145,8 +145,6 @@ namespace CM3D2.MultipleMaids.Plugin
|
|
|
|
|
|
resizeManagerRect.width = resizeManagerRect.height = resizeHandleSize;
|
|
resizeManagerRect.width = resizeManagerRect.height = resizeHandleSize;
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
if (!resizeManager && Input.GetMouseButtonDown(0) && resizeManagerRect.Contains(Event.current.mousePosition))
|
|
if (!resizeManager && Input.GetMouseButtonDown(0) && resizeManagerRect.Contains(Event.current.mousePosition))
|
|
{
|
|
{
|
|
resizeManager = true;
|
|
resizeManager = true;
|
|
@@ -9131,6 +9129,8 @@ namespace CM3D2.MultipleMaids.Plugin
|
|
GUIStyle listStyle = new GUIStyle("button");
|
|
GUIStyle listStyle = new GUIStyle("button");
|
|
listStyle.fontSize = GetPix(14);
|
|
listStyle.fontSize = GetPix(14);
|
|
listStyle.alignment = TextAnchor.MiddleLeft;
|
|
listStyle.alignment = TextAnchor.MiddleLeft;
|
|
|
|
+ selectedButtonStyle.fontSize = GetPix(14);
|
|
|
|
+ selectedButtonStyle.alignment = TextAnchor.MiddleLeft;
|
|
GUIStyle textFieldStyle = new GUIStyle("textfield");
|
|
GUIStyle textFieldStyle = new GUIStyle("textfield");
|
|
textFieldStyle.alignment = TextAnchor.MiddleLeft;
|
|
textFieldStyle.alignment = TextAnchor.MiddleLeft;
|
|
GUIStyle resizeHandleStyle = new GUIStyle("label");
|
|
GUIStyle resizeHandleStyle = new GUIStyle("label");
|
|
@@ -9199,7 +9199,7 @@ namespace CM3D2.MultipleMaids.Plugin
|
|
|
|
|
|
Rect dirListScrollView = new Rect(0, 0,
|
|
Rect dirListScrollView = new Rect(0, 0,
|
|
saveGridOffset - 50,
|
|
saveGridOffset - 50,
|
|
- GetPix(22) * directoryList.Length
|
|
|
|
|
|
+ GetPix(22) * (directoryList.Length + 1) + buttonSize + windowPadding
|
|
);
|
|
);
|
|
|
|
|
|
GUI.Box(dirListScrollRect, "");
|
|
GUI.Box(dirListScrollRect, "");
|
|
@@ -9212,7 +9212,8 @@ namespace CM3D2.MultipleMaids.Plugin
|
|
if (GUI.Button(new Rect(0,
|
|
if (GUI.Button(new Rect(0,
|
|
i * listEntrySize,
|
|
i * listEntrySize,
|
|
saveGridOffset,
|
|
saveGridOffset,
|
|
- listEntrySize), directoryList[i], listStyle))
|
|
|
|
|
|
+ listEntrySize), directoryList[i],
|
|
|
|
+ i == selectedDirectory ? selectedButtonStyle : listStyle))
|
|
{
|
|
{
|
|
SwitchDirectory(directoryList[i]);
|
|
SwitchDirectory(directoryList[i]);
|
|
}
|
|
}
|