Comments (6)
Good eye! I have noticed that myself as well. I'm not sure how this can be solved, since all the logic is being handled by Godot's color picker. However, I plan to eventually create a custom color picker with a color-selector-from-screen tool which will get the color of the pixel on the mouse's position. This should be fairly easy to do.
from pixelorama.
In the meantime, until you make the custom color picker, you could not draw the blue rect if Global.can_draw
is false. I made the test, and imho is more comfortable this way, as picking blue accidentally makes you (at best) have to go and pick color again. I can make a PR for you for this, so you can test even if you are not interested in this change.
from pixelorama.
That sounds very interesting actually. A PR would be appreciated!
from pixelorama.
You could also use warp_mouse()
to move mouse always to the center of a pixel, but i think its a bit more complicated, cause you'll have to handle different rates when zooming and so.
from pixelorama.
That could work, but I think your PR solved the problem already, so I guess I'll close this issue as well. Thank you for the contribution! :D
from pixelorama.
You are welcome! glad to help
from pixelorama.
Related Issues (20)
- PXO format is missing from supported files in the open dialog in the web version
- Linux: Failing to load 32bpp BMP previously exported from Aseprite.
- Split layers HOT 1
- Saved png file is visible only in Pixelorama
- mirrored drawing line(s) is not centered by default
- Layer opacity changes cell opacity instead HOT 1
- The undo/redo system consumes a lot of RAM HOT 4
- CRITICAL DATA LOSS: Re-ordering tabs then saving renames files and overwrites without confirmation HOT 3
- `Bucket` tool to replace color (multiple frames), chance to mass up with wrong color
- [AUR] Broken UI HOT 3
- Pixelorama crash after trying rotate selection or image HOT 11
- Shading Tool breaks Undo functionality HOT 2
- Setting Tool Shortcut To Use Control Doesn't Work HOT 1
- Top of window blurry on MacOS Retina Display HOT 2
- Blend modes not working on all GPUs and performance issues
- Program can sometimes crash when resizing images HOT 1
- version 0.11.3 reset custom brush when switch another tool HOT 2
- Pixelorama Crashes when run from the Godot Editor HOT 2
- Export to SVG HOT 4
- Tar.gz inside zip HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pixelorama.