~qeef/damn-client.js

41b677d582f69af971d4ef395f58dd0753c9af1a — Jiri Vlasak 4 months ago 3238cf9 v0.19.4
Add split horizontally/vertically action to mappy
2 files changed, 8 insertions(+), 0 deletions(-)

M static/fn.js
M static/mappy-area.js
M static/fn.js => static/fn.js +2 -0
@@ 197,6 197,8 @@ function unlock_act()
        "needs review",
        "is done",
        "split",
        "split horizontally",
        "split vertically",
        "merge",
    ];
}

M static/mappy-area.js => static/mappy-area.js +6 -0
@@ 262,6 262,12 @@ function html_possible_actions(aid, sid)
    ih += html_mappy_new_unlock_action(aid, sid, "split");
    ih += "</li>";
    ih += "<li>";
    ih += html_mappy_new_unlock_action(aid, sid, "split horizontally");
    ih += "</li>";
    ih += "<li>";
    ih += html_mappy_new_unlock_action(aid, sid, "split vertically");
    ih += "</li>";
    ih += "<li>";
    ih += html_mappy_new_unlock_action(aid, sid, "merge");
    ih += "</li>";
    ih += "</ul>";