File tree 5 files changed +32
-4
lines changed
5 files changed +32
-4
lines changed Original file line number Diff line number Diff line change 1
- # SUBMIT THUMBNAILS IN THE [ DISCORD SERVER] ( https://discord.gg/K6M4RduZxY )
1
+ # SUBMIT THUMBNAILS IN THE [ DISCORD SERVER] ( https://discord.gg/GuagJDsqds )
2
2
3
3
# Level Thumbnails
4
4
Original file line number Diff line number Diff line change
1
+ # v1.0.7
2
+ - Buggy zooming and thumbnail popup bugfixes
3
+ - Crash fixes
4
+ - Popup
5
+
1
6
# v1.0.6
2
7
- Removed a swear word from ` about.md `
3
8
Original file line number Diff line number Diff line change 5
5
"android" : " 2.206" ,
6
6
"mac" : " 2.206"
7
7
},
8
- "version" : " v1.0.6 " ,
8
+ "version" : " v1.0.7 " ,
9
9
"id" : " cdc.level_thumbnails" ,
10
10
"name" : " Level Thumbnails" ,
11
11
"developer" : " cdc" ,
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ void ThumbnailPopup::openDiscordServerPopup(CCObject* sender){
22
22
" No Thanks" , " JOIN!" ,
23
23
[this ](auto , bool btn2) {
24
24
if (btn2) {
25
- CCApplication::sharedApplication ()->openURL (" https://discord.gg/K6M4RduZxY " );
25
+ CCApplication::sharedApplication ()->openURL (" https://discord.gg/GuagJDsqds " );
26
26
}
27
27
}
28
28
);
Original file line number Diff line number Diff line change 4
4
using namespace geode ::prelude;
5
5
6
6
#include < Geode/modify/LevelCell.hpp>
7
+ #include < Geode/modify/MenuLayer.hpp>
7
8
#include < Geode/utils/web.hpp>
8
9
#include " utils.hpp"
9
10
#include " ImageCache.hpp"
10
11
#include " Zoom.hpp"
11
-
12
+ class $modify(MenuLayer){
13
+ bool init (){
14
+ MenuLayer::init ();
15
+ if (Mod::get ()->getSavedValue <bool >(" temp_newServerNotifOpened" )){
16
+ return true ;
17
+ }
18
+ auto flalert = createQuickPopup (
19
+ " Update!" ,
20
+ " The <cj>Thumbnails</c> mod has a new <cb>Discord</c> now!\n "
21
+ " Wanna <cg>join</c> to submit <cy>Thumbnails</c> and <cg>more</c>?" ,
22
+ " No Thanks" , " JOIN!" ,
23
+ [this ](auto , bool btn2) {
24
+ if (btn2) {
25
+ CCApplication::sharedApplication ()->openURL (" https://discord.gg/GuagJDsqds" );
26
+ }
27
+ Mod::get ()->setSavedValue <bool >(" temp_newServerNotifOpened" ,true );
28
+ },false );
29
+ flalert->m_scene = this ;
30
+ flalert->changeWidth (600 );
31
+ flalert->show ();
32
+ return true ;
33
+ }
34
+ };
12
35
class $modify(MyLevelCell, LevelCell) {
13
36
14
37
struct Fields {
You can’t perform that action at this time.
0 commit comments