Skip to content

Commit 49f1740

Browse files
committed
1.0.2
1 parent 0cd4199 commit 49f1740

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.0.2
2+
3+
* Fix bug
4+
15
# 1.0.1
26

37
* Fixed transition bugs

mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"bugfix"
1919
],
2020
"name": "Clickable Dots",
21-
"version": "v1.0.1",
21+
"version": "v1.0.2",
2222
"developer": "Zilko",
2323
"description": "Lets you click these page dots",
2424
"settings": {

src/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ class $modify(ProBoomScrollLayer, BoomScrollLayer) {
4949
for (CCSprite* dot : dots) {
5050
if (!f->m_buttons.contains(dot)) continue;
5151

52-
page++;
53-
5452
dot->setVisible(false);
5553

5654
CCMenuItemSpriteExtra* btn = f->m_buttons.at(dot);
@@ -62,6 +60,8 @@ class $modify(ProBoomScrollLayer, BoomScrollLayer) {
6260

6361
if (dot->getColor() == ccc3(255, 255, 255))
6462
f->m_currentPage = page;
63+
64+
page++;
6565
}
6666
}
6767

0 commit comments

Comments
 (0)