sugarizer icon indicating copy to clipboard operation
sugarizer copied to clipboard

Adding Drag to fill Cells Functionality in Game of Life

Open dikwickley opened this issue 1 year ago • 6 comments

@llaske in the game of life activity, it becomes very tedious to click at individual cells and enable them. What I propose is adding a click-and-drag functionality (much like using a paintbrush in paint) to fill the cells. This would also enable adding cells while generations are moving fast as adding a single cell just vanishes very quickly. I will achieve this by adding mouse-down and mouse-move event listeners. I have actually tried implementing it and it works pretty well. If you like this feature can you assign it to me? Thanks!

gol2

dikwickley avatar Jan 22 '23 08:01 dikwickley

It's a good idea. BTW it should support both mouse and touch event. There is nothing like assigned issue. Everyone is free to contribute. See here for more.

llaske avatar Jan 22 '23 09:01 llaske

i've made a PR, please review it @llaske

dikwickley avatar Jan 24 '23 12:01 dikwickley

@llaske since no one is working on this issue can i?

VedantSharma11 avatar Mar 19 '23 18:03 VedantSharma11

@VedantSharma11 yes, sure.

llaske avatar Mar 19 '23 20:03 llaske

Fine @llaske ill work on the fix then

VedantSharma11 avatar Mar 20 '23 09:03 VedantSharma11

Fixed in https://github.com/llaske/sugarizer/pull/1592

llaske avatar Apr 20 '24 19:04 llaske