Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

Commit

Permalink
Temporarily remove check from UiScale abstract class
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabixel committed Mar 14, 2023
1 parent 24730d5 commit 7c880ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ts/controls/UiScale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ abstract class UiScale extends Logger {
$(document).on("wheel", (e) => {
if (!e.ctrlKey || !this.canChangeValue) return;

if (ButtonSwap.isDragging) return;
// TODO: make class non-abstract, pass ButtonSwap anche check here if it's dragging. If it's true, return.

const value = EventFunctions.getUpdatedValueFromWheel(
e,
Expand Down

0 comments on commit 7c880ce

Please sign in to comment.