Skip to content

implement horizontal scrolling with trackpad to windows (and bring ba…#666

Open
altalk23 wants to merge 1 commit intoHJfod:v6from
altalk23:v6
Open

implement horizontal scrolling with trackpad to windows (and bring ba…#666
altalk23 wants to merge 1 commit intoHJfod:v6from
altalk23:v6

Conversation

@altalk23
Copy link

…ck macos)

@HJfod
Copy link
Owner

HJfod commented Feb 19, 2026

This prolly doesn't apply on 2.208 anymore does it?

Copy link
Contributor

@Cvolton Cvolton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

official betteredit review by #1 betteredit contributor imo

class $modify(MouseScrollWindowsFix, CCEGLView){
static void onModify(auto& self) {
// The static version inlines the actual callback, so i uninline it by hooking it
(void)Mod::get()->hook((void*)(base::getCocos() + 0x76390), &MouseScrollWindowsFix::onGLFWMouseScrollCallbackStatic, "onGLFWMouseScrollCallbackStatic");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this wont work on 2.207 but im not sure............

return static_cast<MouseScrollWindowsFix*>(CCEGLView::get());
}

//
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a good comment i like it
yes im a qualified betteredit reviewer official now

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a good comment i like it yes im a qualified betteredit reviewer official now

this is a good review comment i like it
i'm not a qualified betteredit reviewer unofficial real

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants