fix bug that did not remove unsupported monitor element in list.
This commit is contained in:
@@ -53,6 +53,7 @@ public class MultipleMonitorCreator : MonoBehaviour
|
|||||||
Destroy(info.gameObject);
|
Destroy(info.gameObject);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
monitors_.RemoveAll(info => info.uddTexture.monitor.state == uDesktopDuplication.MonitorState.Unsupported);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user