Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asset Browser/Inspector: Assets should only open in the Inspector after the click is released, rather than when pressed #5490

Closed
DragoniteSpam opened this issue Apr 14, 2024 · 4 comments
Assignees
Labels
feature request New feature (or a request for one)
Milestone

Comments

@DragoniteSpam
Copy link

Is your feature request related to a problem?

This has been an annoyance for a while in places like the room editor but now that CE2 is designed around the use of inspector windows full-stop, it's become even more of a problem.

A number of properties in GameMaker (object sprite indices, asset variable definitions, things in the room editor, etc) allow having an asset assigned to them by clicking and dragging something from the Asset Browser. This is a big time-saver over clicking on the menu and searching for the asset yourself, but it doesn't work in inspectors because as soon as you click on an asset, it opens in the inspector instead.

You can get around this by locking the inspector, but locking the inspector every time you want to assign something and unlocking it when you're done is really annoying.

Live footage of me trying to assign a sprite to an object:

asset browser and inspector

The most common way for UI to deal with this kind of thing is to only open something for selection after the left mouse button has been released (or to double-click to open, the way we did in workspaces). For example, this is how it works in Unity:

inspector in unity

Describe the solution you'd like

*holds nose* the way Unity does it

Describe alternatives you've considered

No response

Additional context

This also happens all over the place in the room editor inspector

@DragoniteSpam DragoniteSpam added the feature request New feature (or a request for one) label Apr 14, 2024
@KormexGit
Copy link

Yes please, I had been thinking about requesting exactly this. If it doesn't change until the mouse is released, then the dragging to assign workflow works a lot better.

@yyalansavage
Copy link

Asset browser now inspects on mouse release, when node was not dragged

@YYDan
Copy link
Collaborator

YYDan commented May 14, 2024

We should verify that this fixes 5846 also, as well as 5507.

@YYDan YYDan changed the title Asset browser/Inspector: assets should only open in the inspector after the click is released, rather than pressed Asset browser/Inspector: Assets should only open in the Inspector after the click is released, rather than when pressed May 14, 2024
@YYDan YYDan changed the title Asset browser/Inspector: Assets should only open in the Inspector after the click is released, rather than when pressed Asset Browser/Inspector: Assets should only open in the Inspector after the click is released, rather than when pressed May 14, 2024
@caitlinrmcintyre
Copy link

Verified fix in IDE v9.9.1.673 Runtime v9.9.1.815, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature (or a request for one)
Projects
Status: Verified
Development

No branches or pull requests

6 participants