Open BelieveXiaoShuai opened 4 years ago
there is bug that the 1px brush is actually drawn as 3 pixels
because its using the DrawCircle method, which doesnt really work with small size https://github.com/unitycoder/UnityMobilePaint/blob/master/Assets/MobilePaint/Scripts/MobilePaint.cs#L957
workaround: inside void MousePaint() or void TouchPaint(), where it checks for drawmode switch (drawMode), add code to check if brushSize ==1, then draw single pixel only. (and dont call DrawCircle) call public void DrawPoint(int x, int y)
It doesn't seem to work.
The little point is one pixel and another three is 2/3/4 pixels
is that zoomed in? or looks like the resolution is quite low, test with overrideResolution to some bigger value than 1?
No, just a screenshot.
ok, try disabling [x] connect brush strokes, it tries to connect strokes and seems to draw extra pixels there.
or try adding some fix like, check for same position:
It works, Thank you!
Current minimum brush size is 1. I still think of this size is thick. Is there any other way to adjust the brush thickness?