Skip to content

Commit

Permalink
v1.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
hiimjustin000 committed Jul 28, 2024
1 parent 87347ea commit 17c02ec
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
with:
name: Build Output
path: ${{ steps.build.outputs.build-output }}

draft:
name: Draft Release
runs-on: ubuntu-latest
Expand Down Expand Up @@ -90,7 +91,7 @@ jobs:
with:
name: Build Output
path: build-output

- name: Create Draft Release
uses: softprops/action-gh-release@v2
env:
Expand All @@ -102,5 +103,3 @@ jobs:
tag_name: ${{ github.event.head_commit.message }}
name: ${{ github.event.head_commit.message }}
draft: true
body: |
Replace with release notes
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_OSX_ARCHITECTURES "x86_64;arm64")
set(CMAKE_CXX_VISIBILITY_PRESET hidden)

project(IntegratedDemonlist VERSION 1.5.4)
project(IntegratedDemonlist VERSION 1.5.5)

add_library(${PROJECT_NAME} SHARED
src/IDListLayer.cpp
Expand Down
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Integrated Demonlist Changelog
## v1.5.5 (2024-07-28)
- Altered the appearance of the demonlist button

## v1.5.4 (2024-07-27)
- Fixed a bug where the demonlist page would sometimes crash the game

Expand Down
2 changes: 1 addition & 1 deletion mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"win": "2.206",
"mac": "2.206"
},
"version": "v1.5.4",
"version": "v1.5.5",
"id": "hiimjustin000.integrated_demonlist",
"name": "Integrated Demonlist",
"developer": "hiimjustin000",
Expand Down
Binary file added resources/ID_demonBtn_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ class $modify(IDLevelSearchLayer, LevelSearchLayer) {
bool init(int searchType) {
if (!LevelSearchLayer::init(searchType)) return false;

auto demonlistButtonSprite = CircleButtonSprite::createWithSpriteFrameName("diffIcon_10_btn_001.png", 1.0f, CircleBaseColor::Pink, CircleBaseSize::Medium);
auto demonlistButtonSprite = CircleButtonSprite::createWithSprite("ID_demonBtn_001.png"_spr, 1.0f, CircleBaseColor::Green, CircleBaseSize::Medium);
demonlistButtonSprite->getTopNode()->setScale(1.0f);
demonlistButtonSprite->setScale(0.8f);
auto demonlistButton = CCMenuItemExt::createSpriteExtra(demonlistButtonSprite, [](auto) {
CCDirector::sharedDirector()->pushScene(CCTransitionFade::create(0.5f, IDListLayer::scene()));
Expand Down

0 comments on commit 17c02ec

Please sign in to comment.