obsidian-excalidraw-plugin icon indicating copy to clipboard operation
obsidian-excalidraw-plugin copied to clipboard

Obsidian mobile double tap undo

Open dmnkf opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. Currently I feel like the workflow of Excalidraw is nice, but there are some issues I experience frequently. One in particular is the flow of quickly deleting/undo something.

Describe the solution you'd like Working on the iPad I was always used to the concepts app quick command "double tap - undo", "triple tap - redo"

Since I am aware of how difficult it would be to implement the Apple Pen buttons I see this as most doable solution. Perhaps there could be a new keyset for mobile users (on demand) which enables double tap undo.

dmnkf avatar Sep 22 '22 11:09 dmnkf

This is a great idea, but I'd rather implement this in the core excalidraw.com product than the Obsidian Plugin.

Double tap is reserved for starting to edit text. Maybe a two-finger double tap and a three-finger double tap could be viable alternatives.

I've created a feature request for this on Excalidraw.com.

zsviczian avatar Sep 25 '22 09:09 zsviczian

I tried to add a plugin for myself but I don't know to what listener I should tap into. Any tips?

window.addEventListener('touchstart', function (e) { 
	if (e.touches.length == 3) { 
...
}
});

does not work :/

lukeurban avatar Apr 20 '24 02:04 lukeurban