Skip to content

Commit

Permalink
bru
Browse files Browse the repository at this point in the history
  • Loading branch information
FireMario211 committed Sep 2, 2024
1 parent dde8ce0 commit 3bd10fe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# v1.0.2
- Quickly revert a change with Editor Tab API
# v1.0.1
- Added more to the mod description
- Added refresh button
Expand Down
2 changes: 1 addition & 1 deletion mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"id": "firee.object-workshop",
"name": "Object Workshop",
"version": "v1.0.1",
"version": "v1.0.2",
"developer": "Firee",
"description": "Download, upload, or find custom objects made by other creators!",
"resources": {
Expand Down
10 changes: 5 additions & 5 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,13 @@ bool CustomObjects::init(LevelEditorLayer* editorLayer) {
m_fields->m_listener.setFilter(req.post(fmt::format("{}/user/@me", HOST_URL)));
}
m_fields->menu->setPosition({-2, -112});
m_fields->menu->setPosition({285, 45});
//return EditorTabUtils::createEditButtonBar(arr, ui);
return m_fields->menu;
//m_fields->menu->setPosition({285, 45});
return EditorTabUtils::createEditButtonBar(arr, ui);
//return m_fields->menu;
}, [this](EditorUI* ui, bool state, CCNode*) { //toggled the tab (activates on every tab click)
/*if (m_fields->menu != nullptr) {
if (m_fields->menu != nullptr) {
m_fields->menu->setPosition({-2, -112});
}*/
}
});

return true;
Expand Down

0 comments on commit 3bd10fe

Please sign in to comment.