Commit 7e2f5677 authored by Phil Hughes's avatar Phil Hughes

stop expanding form below window height

update lastOpenedAt for pending files
parent d995eb28
...@@ -36,7 +36,9 @@ export default { ...@@ -36,7 +36,9 @@ export default {
}, },
watch: { watch: {
currentActivityView() { currentActivityView() {
this.isCompact = this.currentActivityView !== activityBarViews.commit; this.isCompact = !(
this.currentActivityView === activityBarViews.commit && window.innerHeight >= 750
);
}, },
}, },
methods: { methods: {
......
...@@ -176,6 +176,7 @@ export default { ...@@ -176,6 +176,7 @@ export default {
[file.path]: Object.assign(state.entries[file.path], { [file.path]: Object.assign(state.entries[file.path], {
opened: false, opened: false,
active: false, active: false,
lastOpenedAt: new Date().getTime(),
}), }),
}), }),
openFiles: [ openFiles: [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment