ankitapuri / pixelvibe

This a Pixel-art maker with add-on features.
MIT License
43 stars 95 forks source link

added new features in canvas.html file #269

Closed subhangi2731 closed 3 years ago

subhangi2731 commented 3 years ago

Related Issue

Added new features in canvas.html file and modified it

Closes: #128

Describe the changes you've made

A drop down menu and also the variable brush sizes to be appeared in some drop side ways fashion thus adding new features

Type of change

What sort of change have you made:

Mention any unusual behaviour of your code (Write NA if not)

NA

Checklist:

subhangi2731 commented 3 years ago

@ankitapuri we have to use that brush by selecting if I delete then how the size will be selected?? can u please explain in detail exactly what u want

ankitapuri commented 3 years ago

@ankitapuri we have to use that brush by selecting if I delete then how the size will be selected?? can u please explain in detail exactly what u want

At first the user gets the default size brush , and u have made the feature to change the brush-size. So just merge these 2 features into 1 , i.e. when user can use the brush of preferred size by selecting your feature

subhangi2731 commented 3 years ago

@ankitapuri the thing which u are telling I have done that only.. The default is the smallest dot which is the current brush size but if we select larger dots only then the new size will be selected

arpit456jain commented 3 years ago

@ankitapuri the thing which u are telling I have done that only.. The default is the smallest dot which is the current brush size but if we select larger dots only then the new size will be selected

@subhangi2731 i think @ankitapuri is trying to say that currently there are 2 options in drop down 1 is brush and 1 is brush size . If i user eraser and then i increased the brush size. And when i go back on page it still on eraser mode . I mean for using brush i have to select brush option first ..

So if you combine those 2 options that would be better. We can select and change size with the same

arpit456jain commented 3 years ago
like this

@ankitapuri like this ??

subhangi2731 commented 3 years ago

@arpit456jain I got it I got the point thanks I will resolve now

subhangi2731 commented 3 years ago

@ankitapuri please merge my pr I have done the required changes as said

subhangi2731 commented 3 years ago

and updated my branch

ankitapuri commented 3 years ago

https://user-images.githubusercontent.com/54734002/119375335-516d2f80-bcd8-11eb-9f5f-e16e92b1fd89.mp4

@subhangi2731 the eraser size still changes with the brush size . It should be of the default size throughout

subhangi2731 commented 3 years ago

@ankitapuri please check now and merge

ankitapuri commented 3 years ago

@subhangi2731 it has same errors , can u please send the video of the functionality .

subhangi2731 commented 3 years ago

@ankitapuri Since erasing uses the same logic as brushing but with a white color, we have to click on erase again after changing the size of brush. Since I added the functionality already this must be handled in another issue please consider and merge my pr I request you

subhangi2731 commented 3 years ago

https://user-images.githubusercontent.com/53938490/119518679-5f818580-bd96-11eb-8959-63e5c1d0c335.mp4