Skip to content

Commit

Permalink
Attempting to add mac support for scheduling
Browse files Browse the repository at this point in the history
  • Loading branch information
SMJSGaming committed Jul 13, 2024
1 parent 5ea5aa9 commit befecd7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")

project(GDIntercept VERSION 0.3.2)
project(GDIntercept VERSION 0.3.3)

file(GLOB_RECURSE SOURCES "src/*.cpp")
add_library(${PROJECT_NAME} SHARED ${SOURCES})
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/TracklessScrollbar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ TracklessScrollbar* TracklessScrollbar::create(const CCSize& size, ListView* lis
}

bool TracklessScrollbar::init(const CCSize& size, ListView* list) {
this->m_pScheduler->scheduleUpdateForTarget(this, 1, false);
this->m_pScheduler->scheduleSelector(schedule_selector(TracklessScrollbar::update), this, 0, false);

if (!Scrollbar::init(list->m_tableView)) {
return false;
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/lists/CodeBlock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ CodeBlock* CodeBlock::create(const CCSize& size, const CCSize& buttonBarSize) {
}

bool CodeBlock::init(const CCSize& size, const CCSize& buttonBarSize) {
this->m_pScheduler->scheduleUpdateForTarget(this, 1, false);
this->m_pScheduler->scheduleSelector(schedule_selector(CodeBlock::update), this, 0, false);

#ifdef KEYBINDS_ENABLED
this->addEventListener<InvokeBindFilter>([=, this](const InvokeBindEvent* event) {
Expand Down

0 comments on commit befecd7

Please sign in to comment.