KEMBAR78
Display the correct drag image on Electron >= 1.14 by as-cii · Pull Request #1054 · atom/tree-view · GitHub
Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Conversation

@as-cii
Copy link
Contributor

@as-cii as-cii commented Mar 29, 2017

Refs: atom/atom#12696

This commit ensures that the cloned file name element (i.e. the element that is shown next to the cursor while dragging) is rendered on a separate GPU layer. This will prevent overlapping elements located at (0px, 0px) from being used as the drag image.

Before:

screen shot 2017-03-29 at 14 31 30

After:

screen shot 2017-03-29 at 14 44 22

/cc: @atom/maintainers

This commit ensures that the cloned file name element (i.e. the element
that is shown next to the cursor while dragging) is rendered on a
separate GPU layer. This will prevent overlapping elements located at
(0px, 0px) from being used as the drag image.
@thomasjo thomasjo mentioned this pull request Mar 29, 2017
17 tasks
@as-cii as-cii merged commit 1c1366c into master Mar 30, 2017
@as-cii as-cii deleted the as-fix-clipped-drag-image branch March 30, 2017 13:43
@daviwil daviwil mentioned this pull request Dec 20, 2018
59 tasks
@rafeca rafeca mentioned this pull request Jun 25, 2019
7 tasks
@lkashef lkashef mentioned this pull request Jul 16, 2020
76 tasks
@sadick254 sadick254 mentioned this pull request Dec 1, 2020
58 tasks
@sadick254 sadick254 mentioned this pull request Aug 19, 2021
64 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant