mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-27 00:41:08 +02:00
Added option to disable edge scrolling
This commit is contained in:
@ -25,7 +25,10 @@ std::unique_ptr<ICursor> CursorHandler::createCursor()
|
||||
if (settings["video"]["cursor"].String() == "auto")
|
||||
{
|
||||
#if defined(VCMI_MOBILE)
|
||||
return std::make_unique<CursorSoftware>();
|
||||
if (settings["general"]["userRelativePointer"].Bool())
|
||||
return std::make_unique<CursorSoftware>();
|
||||
else
|
||||
return std::make_unique<CursorHardware>();
|
||||
#else
|
||||
return std::make_unique<CursorHardware>();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user