Skip to content

Commit 5a5fdbc

Browse files
committed
sdfg
1 parent 4bb588d commit 5a5fdbc

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

changelog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# 1.3.8
22

3-
- Removed no transition from MacOS due to crashes
3+
- Fixed no transition crash on MacOS
4+
- Fixed Gradient Theme appearing white
45

56
# 1.3.7
67

src/Hacks/TransitionTimeCustomiser.cpp

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#ifndef GEODE_IS_MACOS
2-
31
#include <Geode/Geode.hpp>
42
#include <Geode/cocos/layers_scenes_transitions_nodes/CCTransition.h>
53
#include <Geode/modify/CCTransitionFade.hpp>
@@ -8,6 +6,8 @@
86

97
using namespace geode::prelude;
108

9+
#ifndef GEODE_IS_MACOS
10+
1111
//{"Fade", "Cross Fade", "Fade Bottom Left", "Fade Top Right", "Fade Up", "Fade Down", "Flip Angular", "Flip X", "Flip Y", "Zoom Flip Angular" "Zoom Flip X", "Zoom Flip Y", "Jump Zoom", "Move In Top", "Move In Bottom", "Move In Left", "Move In Right", "Rotate Zoom", "Shrink Grow", "Slide In Top", "Slide In Bottom", "Slide In Left", "Slide In Right", "Split Rows", "Split Columns", "Tiles"}
1212

1313
CCScene* getSceneForSel(int i, float f, CCScene* s)
@@ -120,4 +120,14 @@ class $modify (cocos2d::CCTransitionFade)
120120
}
121121
};
122122

123+
#else
124+
125+
class $modify (cocos2d::CCTransitionFade)
126+
{
127+
static CCTransitionFade* create(float duration,CCScene* scene)
128+
{
129+
return CCTransitionFade::create(Client::GetModuleEnabled("no-trans") ? 0 : 1, scene);
130+
}
131+
};
132+
123133
#endif

0 commit comments

Comments
 (0)