File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## v1.14.0
2+ * Bump to Geode ` v5.6.1 `
3+ * Fix keyboard arrows typing 'a' characters
4+ * Add layout padding attribute
5+
16## v1.13.0
27* Updated for Geode v5.0.0 and Geometry Dash 2.2081
38
Original file line number Diff line number Diff line change 88#include < string>
99#include < type_traits>
1010#include < Geode/loader/Dispatch.hpp>
11+
12+ #undef MY_MOD_ID
1113#define MY_MOD_ID " geode.devtools"
1214
1315namespace devtools {
Original file line number Diff line number Diff line change 11{
2- "geode" : " 5.0 .1" ,
3- "version" : " v1.13.1 " ,
2+ "geode" : " 5.6 .1" ,
3+ "version" : " v1.14.0 " ,
44 "gd" : {
55 "win" : " 2.2081" ,
66 "android" : " 2.2081" ,
Original file line number Diff line number Diff line change @@ -432,6 +432,14 @@ class $modify(CCIMEDispatcher) {
432432 if (!io.WantCaptureKeyboard ) {
433433 CCIMEDispatcher::dispatchInsertText (text, len, key);
434434 }
435+
436+ switch (key) {
437+ case KEY_Left:
438+ case KEY_Right:
439+ return ;
440+ default : break ;
441+ }
442+
435443 std::string str (text, len);
436444 io.AddInputCharactersUTF8 (str.c_str ());
437445 }
@@ -549,4 +557,4 @@ class $modify(CCKeyboardDispatcher) {
549557 }
550558 #endif
551559};
552- #endif
560+ #endif
Original file line number Diff line number Diff line change @@ -910,7 +910,13 @@ void DevTools::drawLayoutAttributes(CCNode* node){
910910 layout->setGap (gap);
911911 updateLayout = true ;
912912 }
913-
913+
914+ auto padding = layout->getPadding ();
915+ if (ImGui::DragFloat4 (" Padding" , &padding.left )) {
916+ layout->setPadding (padding);
917+ updateLayout = true ;
918+ }
919+
914920 auto ignoreInvisibleChildren = layout->isIgnoreInvisibleChildren ();
915921 if (ImGui::Checkbox (" Ignore Invisible Children" , &ignoreInvisibleChildren)) {
916922 layout->ignoreInvisibleChildren (ignoreInvisibleChildren);
@@ -1087,6 +1093,12 @@ void DevTools::drawLayoutAttributes(CCNode* node){
10871093 updateLayout = true ;
10881094 }
10891095
1096+ auto padding = layout->getPadding ();
1097+ if (ImGui::DragFloat4 (" Padding" , &padding.left )) {
1098+ layout->setPadding (padding);
1099+ updateLayout = true ;
1100+ }
1101+
10901102 auto ignoreInvisibleChildren = layout->isIgnoreInvisibleChildren ();
10911103 if (ImGui::Checkbox (" Ignore Invisible Children" , &ignoreInvisibleChildren)) {
10921104 layout->ignoreInvisibleChildren (ignoreInvisibleChildren);
Original file line number Diff line number Diff line change 1818
1919#include < mach-o/dyld_images.h>
2020#include < mach-o/dyld.h>
21+ #define CommentType CommentTypeDummy
2122#import < Foundation/Foundation.h>
23+ #undef CommentType
2224
2325#import < CoreGraphics/CoreGraphics.h>
2426#ifdef GEODE_IS_MACOS
You can’t perform that action at this time.
0 commit comments