improve detection for monitor state change.
This commit is contained in:
@@ -35,6 +35,10 @@ public class MultipleMonitorCreator : MonoBehaviour
|
||||
if (removeIfUnsupported) {
|
||||
RemoveUnsupportedDisplayAfterRemoveTimer();
|
||||
}
|
||||
|
||||
if (uDesktopDuplication.Manager.monitorCount != monitors.Count) {
|
||||
Recreate();
|
||||
}
|
||||
}
|
||||
|
||||
void OnEnable()
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user