Skip to content

Commit

Permalink
ass
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSillyDoggo committed Jan 22, 2024
1 parent 1b2046f commit d995ea0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Client/AndroidUI.h
Original file line number Diff line number Diff line change
Expand Up @@ -376,13 +376,13 @@ class AndroidBall : public CCLayer
}

virtual void ccTouchMoved(cocos2d::CCTouch* touch, cocos2d::CCEvent* event) {
if (doingThing)
if (doingThing && (btn->numberOfRunningActions() == 0))
{
if (btn->getPosition().getDistance(touch->getLocation()) > 7.5f)
{
dragging = true;

log::info("dragging");
//log::info("dragging");
}

if (dragging)
Expand Down
2 changes: 1 addition & 1 deletion src/Client/ClientSetup.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class ClientUtils
Window* replay = new Window();
replay->name = "Config";
replay->id = "options-window";
replay->windowPos = ImVec2(50 + (50 + (Client::instance->tileSize.x)) * 7, 50);
replay->windowPos = ImVec2(50 + (50 + (Client::instance->tileSize.x)) * 4, 50);

#ifndef GEODE_IS_ANDROID

Expand Down

0 comments on commit d995ea0

Please sign in to comment.