Facepunch / sbox-issues

175 stars 12 forks source link

[Shader Graph] Add the ability to quickly clear recent files #3236

Closed QuackCola closed 1 year ago

QuackCola commented 1 year ago

For?

Other

What can't you do?

unable to easily clear recent files from File ---> Recent Files in order to avoid this : NP0DG41s9u

How would you like it to work?

File ---> Recent files ---> Clear Recent Files ( at the top of the list )

much like Hammer's recent files

What have you tried?

manually deleting the shadergraph_recentfiles.json in .source2 of the sbox install

Additional context

No response

aylaylay commented 1 year ago

This exists, I think it got broke when the order was changed. @DevulTj

QuackCola commented 1 year ago

ah in any case it would be lovely for it to be restored 🙏

aylaylay commented 1 year ago

I'm on a different branch right now but I'll get someone to push the fix

handsomematt commented 1 year ago

Cleaned this up a bit, worked fine when I tested but let me know if I've fucked anything.

QuackCola commented 1 year ago

Seems to work as intended now. thanks!