Skip to content

#3256 Added arrival and goal columns to gui/manipulator #1455

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ryanbennitt
Copy link
Contributor

Added columns to gui/manipulator for time since arrival and goal (dreams of...).

@@ -1060,7 +1066,7 @@ function Spreadsheet:render(dc)
local selected = self.namelist:getSelected()
for _, col in ipairs(self.cols.subviews) do
col.subviews.col_list.page_top = page_top
col.subviews.col_list:setSelected(selected)
col.subviews.col_list.selected = selected
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Calling setSelected resets a bunch of values that we do not want changed because it calls List:moveCursor internally. Just changing the selected value keeps the whole sheet in sync and everything renders correctly using mouse or keyboard navigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant