mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-20 16:11:46 +03:00
chore: refactor defaultBranchWidthRem initialization and remove unnecessary code
This commit is contained in:
parent
232bb7be16
commit
fb78f18ad5
@ -50,10 +50,7 @@
|
|||||||
let rsViewport: HTMLElement;
|
let rsViewport: HTMLElement;
|
||||||
|
|
||||||
const userSettings = getContext<SettingsStore>(SETTINGS_CONTEXT);
|
const userSettings = getContext<SettingsStore>(SETTINGS_CONTEXT);
|
||||||
const defaultBranchWidthRem = persisted<number | undefined>(
|
const defaultBranchWidthRem = persisted<number | undefined>(24, 'defaulBranchWidth' + project.id);
|
||||||
24,
|
|
||||||
'defaulBranchWidth' + project.id
|
|
||||||
);
|
|
||||||
const laneWidthKey = 'laneWidth_';
|
const laneWidthKey = 'laneWidth_';
|
||||||
|
|
||||||
let laneWidth: number;
|
let laneWidth: number;
|
||||||
|
Loading…
Reference in New Issue
Block a user