Commit e73b510
authored
refactor: Refactor font changes codes in ViewCommands (#1285)
* refactor: Add command to change terminal font size
Signed-off-by: Qian Qian "Cubik" <[email protected]>
* refactor(ViewCommands): Use more specific `@AppSettings`
Signed-off-by: Qian Qian "Cubik" <[email protected]>
* feat: Disable font size adjustment if no opened workspace
Signed-off-by: Qian Qian "Cubik" <[email protected]>
* fix: Prevent font size to go over max value (`288`)
Signed-off-by: Qian Qian "Cubik" <[email protected]>
* refactor(ViewCommands): Remove unused `CodeEditDocumentController`
Signed-off-by: Qian Qian "Cubik" <[email protected]>
---------
Signed-off-by: Qian Qian "Cubik" <[email protected]>1 parent 0bfe904 commit e73b510
1 file changed
+13
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | | - | |
38 | 40 | | |
39 | 41 | | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 45 | + | |
| 46 | + | |
46 | 47 | | |
47 | | - | |
48 | | - | |
| 48 | + | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
0 commit comments