mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) updates from grist-core
This commit is contained in:
@@ -293,6 +293,15 @@ GridView.gridCommands = {
|
||||
}
|
||||
this.cursor.rowIndex(this.cursor.rowIndex() - 1);
|
||||
},
|
||||
cursorLeft: function() {
|
||||
// This conditional exists so that when users have the cursor in the leftmost column but
|
||||
// are not scrolled to the left i.e. in the case of a wide column, pressing left again will
|
||||
// scroll the pane to the left.
|
||||
if (this.cursor.fieldIndex() === 0) {
|
||||
this.scrollPane.scrollLeft = 0;
|
||||
}
|
||||
this.cursor.fieldIndex(this.cursor.fieldIndex() - 1);
|
||||
},
|
||||
shiftDown: function() { this._shiftSelect({step: 1, direction: 'down'}); },
|
||||
shiftUp: function() { this._shiftSelect({step: 1, direction: 'up'}); },
|
||||
shiftRight: function() { this._shiftSelect({step: 1, direction: 'right'}); },
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
margin-left: -16px; /* to include drag handle that shows up on hover */
|
||||
margin-bottom: 4px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.viewsection_title, .viewsection_title_font {
|
||||
|
||||
Reference in New Issue
Block a user