Skip to content

Commit

Permalink
[v3.8.6] Fix scrollview could not handle mouse wheel event. (#18094)
Browse files Browse the repository at this point in the history
  • Loading branch information
dumganhar authored Dec 30, 2024
1 parent 70d53ac commit 7783dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cocos/ui/scroll-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ export class ScrollView extends ViewGroup {
// eslint-disable-next-line @typescript-eslint/no-this-alias
const self = this;

if (self.enabledInHierarchy) {
if (!self.enabledInHierarchy) {
return;
}

Expand Down

0 comments on commit 7783dc5

Please sign in to comment.