-
Notifications
You must be signed in to change notification settings - Fork 445
Conversation
[WIP] Fixes to 961
holy crap this is looking awesome. |
😄 Glad you like it. |
|
refresh asset database after revert
File history revert
😍This is looking so good and thanks for posting a gif of it in action! The only thing I can pick out is that the "Show in Project" button gets bumped to outside of the interface: I'm assuming that it has something to do with the I took an attempt at re-writing the private void DoHeaderGUI() {
GUILayout.BeginHorizontal(Styles.HeaderBoxStyle);
{
var iconWidth = 32;
var iconHeight = 32;
GUILayout.Label(selectedIcon, GUILayout.Height(iconWidth), GUILayout.Width(iconHeight));
GUILayout.Space(16);
GUILayout.BeginVertical();
{
GUILayout.Label(selectedObjectAssetPath, Styles.FileHistoryLogTitleStyle);
GUILayout.BeginHorizontal();
{
GUILayout.FlexibleSpace();
if (GUILayout.Button("Show in Project"))
{
EditorGUIUtility.PingObject(selectedObject);
}
}
GUILayout.EndHorizontal();
}
GUILayout.EndVertical();
}
GUILayout.EndHorizontal();
} Would anyone be able to push a tweak for this? If not, I can take this on, but I'll need some time to get my environment set up again. |
Co-authored-by: Don Okuda <don.okuda@gmail.com>
@donokuda as always you work miracles. I also made sure you get credit for that code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, just a couple of comments! 👍
@sambonfire let me know if there is anything you'd like to change about this before it goes in. |
This functionality looks good to me @StanleyGoldman 👍 |
Building upon work started in #948 by @sambonfire