Skip to content

Commit

Permalink
Merge pull request #539 from kinosang/mod/swipup
Browse files Browse the repository at this point in the history
swip up to page back by default
  • Loading branch information
fvanroie authored Sep 27, 2023
2 parents 4004188 + b757818 commit af9cf97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hasp/hasp_attribute_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ const char* my_obj_get_action(lv_obj_t* obj)
void my_obj_set_swipe(lv_obj_t* obj, const char* payload)
{
hasp_ext_user_data_t* ext = (hasp_ext_user_data_t*)obj->user_data.ext;
static const char* _swipejson = R"({"down":"page back","left":"page next","right":"page prev"})";
static const char* _swipejson = R"({"down":"page back","left":"page next","right":"page prev","up":"page back"})";

// extended tag exists, free old tag if it's not the const _swipejson
if(ext) {
Expand Down

0 comments on commit af9cf97

Please sign in to comment.