Skia AA and no AA bypass intermediate surface
This commit is contained in:
parent
4b2ecf2fe6
commit
37c105bf5e
5 changed files with 39 additions and 66 deletions
|
|
@ -53,7 +53,7 @@ void EyeDropperTool::input_mouse_button_on_canvas_callback(const InputManager::M
|
|||
auto& selectingStrokeColor = drawP.world.main.toolConfig.eyeDropper.selectingStrokeColor;
|
||||
|
||||
if(button.button == InputManager::MouseButton::LEFT && button.down && !drawP.selection.is_being_transformed() && !drawP.world.main.g.gui.cursor_obstructed()) {
|
||||
auto& surface = drawP.world.main.window.intermediateSurface;
|
||||
auto& surface = drawP.world.main.window.nativeSurface;
|
||||
|
||||
int xPos = std::clamp<int>(button.pos.x(), 0, drawP.world.main.window.size.x() - 1);
|
||||
int yPos = std::clamp<int>(button.pos.y(), 0, drawP.world.main.window.size.y() - 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue