Skip to content

Commit

Permalink
fix: copypaste on trace window is broken (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdunderscore authored Sep 29, 2024
1 parent 270050c commit da6d773
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed
- [#425] PublishedValue changes now immediately trigger repaint
- [#428] Preview trace window copy button doesn't work

### Changed

Expand Down
2 changes: 2 additions & 0 deletions Editor/PreviewSystem/Trace/TraceWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ private void LoadUI()
_events.Add(foldout);
}
_eventText = copyPasteText.ToString();
};

root.Q<Button>("btn_copy").clickable.clicked += () =>
Expand Down

0 comments on commit da6d773

Please sign in to comment.