nkh / P5-App-Asciio

Plain ASCII diagram
https://nkh.github.io/P5-App-Asciio/
56 stars 4 forks source link

insert the same type of object again #74

Closed nkh closed 1 year ago

nkh commented 1 year ago

asciio remembers the last inserted element and run command (that is not a mouse movement), bindings (mouse or keyboard) can repeat the last action.

qindapao commented 1 year ago

@nkh Like the dot in vim? Sounds awesome

nkh commented 1 year ago

I was thinking about a mode where the user selects an object/selected objects and then can clone them.

but you gave me an idea with the dot, something like the git mode a bit

if nothing is selected and dot is pressed, the last inserted element is clone at the mouse position

if there is a selection, change the overlay to look like the selected objects and clone them when mouse button is pressed

these two modes are slightly different in how they are used, I'll ask my UX specialist about which one to have or if one can have both (it's my daughter who works with UX and design)

nkh commented 1 year ago

UX

last command was modification object

last command was on group of objects

last command was insertion of object

same use case as cloning

nkh commented 1 year ago

New clone functionality is easy to use and there's little I can think about that would give meaning to the dot functionality.

qindapao commented 1 year ago

@nkh

Ok, we won't do anything extra.