Fix unset audio device; Force never cursor lock; Cleanup
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
d11db41c43
commit
16be4fcabb
4 changed files with 17 additions and 51 deletions
|
|
@ -197,7 +197,7 @@ protected:
|
|||
{
|
||||
const ScopedContext sc(this);
|
||||
|
||||
rack::math::Vec mousePos = rack::math::Vec(ev.pos.getX(), ev.pos.getY());
|
||||
rack::math::Vec mousePos = rack::math::Vec(ev.pos.getX(), ev.pos.getY()).div(1).round();
|
||||
// .div(ctx->window->pixelRatio / ctx->window->windowRatio).round();
|
||||
rack::math::Vec mouseDelta = mousePos.minus(fLastMousePos);
|
||||
|
||||
|
|
@ -206,7 +206,7 @@ protected:
|
|||
if (ctx->window->internal->ignoreNextMouseDelta)
|
||||
{
|
||||
ctx->window->internal->ignoreNextMouseDelta = false;
|
||||
mouseDelta = math::Vec();
|
||||
mouseDelta = rack::math::Vec();
|
||||
}
|
||||
*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue