fix cursor capture area bug.
This commit is contained in:
@@ -167,7 +167,7 @@ void Cursor::Draw(Monitor* monitor)
|
||||
capturedImageTop = 0;
|
||||
}
|
||||
|
||||
if (capturedImageBottom >= monitorHeight)
|
||||
if (capturedImageBottom >= desktopImageHeight)
|
||||
{
|
||||
capturedImageHeight -= capturedImageBottom - desktopImageHeight;
|
||||
capturedImageBottom = desktopImageHeight - 1;
|
||||
|
||||
@@ -37,7 +37,6 @@ extern "C"
|
||||
UNITY_INTERFACE_EXPORT void UNITY_INTERFACE_API Finalize()
|
||||
{
|
||||
if (!g_manager) return;
|
||||
|
||||
g_manager.reset();
|
||||
|
||||
std::queue<Message> empty;
|
||||
|
||||
Reference in New Issue
Block a user