-
Notifications
You must be signed in to change notification settings - Fork 237
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
New grid related features #931
Conversation
… Tab focus on object list in rooms when clicking on something
… the automatic grid calculation (from most used tile in a room). Moved the grid from background to foreground (thanks to OpacityMask). Adjusted the settings menu layout a bit. Room thickness is 0.5 by default now.
…expression trees" This reverts commit 829cdb4.
Download the artifacts for this pull request here: GUI:
CLI: |
Add empty lines back in Co-authored-by: VladiStep <vlad2001.21@mail.ru>
@@ -832,6 +832,7 @@ private void SelectObject(UndertaleObject obj) | |||
|
|||
resListView.IsExpanded = true; | |||
resListView.BringIntoView(); | |||
resListView.Focus(); |
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.
It should be after line 856 (resItem.IsSelected = true;
).
@@ -1478,7 +1478,7 @@ private void TreeView_SelectedItemChanged(object sender, RoutedPropertyChangedEv | |||
|
|||
private void MainTree_MouseDoubleClick(object sender, MouseButtonEventArgs e) | |||
{ | |||
OpenInTab(Highlighted); | |||
OpenInTab(Highlighted, true); |
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.
This change is not mentioned on the PR description.
I personally do not like everything opening in a new tab.
@@ -403,11 +403,18 @@ public void SetupRoom(bool calculateGrid = true) | |||
} | |||
|
|||
// If tiles exist at all, grab the most used tile size and use that as our grid size | |||
// If a default starting grid is set in the settings, use that instead |
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.
This comment is slightly misleading, as in this code block the starting grid is not get from the settings as the grid isn't even recalculated in that case.
…grid changes to UndertaleRoomRenderer. Condensed some if statements. Reverted default grid thickness.
<DrawingBrush TileMode="Tile" ViewportUnits="Absolute"> | ||
<DrawingBrush.Viewport> | ||
<MultiBinding Converter="{StaticResource GridConverter}"> | ||
<Binding Path="GridWidth" Mode="OneWay"/> |
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.
All the data bindings that you've changed/added should be OneTime
.
Thanks for the PR! Unfortunate, that you weren't able to get this one merged and that we needed to create our own PRs for it, but nevertheless your contributions are very welcomed :) |
No longer necessary. |
Description