File tree 2 files changed +6
-8
lines changed
2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"manifest_version" : 3 ,
3
3
"name" : " Centralizer" ,
4
- "version" : " 1.0 " ,
4
+ "version" : " 1.1 " ,
5
5
"description" : " Move and resize your window to be central in your monitor" ,
6
6
"icons" : {
7
7
"16" : " images/icon.png" ,
10
10
"128" : " images/icon.png"
11
11
},
12
12
"permissions" : [
13
- " system.display" ,
14
- " tabs" ,
15
- " activeTab" ,
16
- " scripting"
13
+ " system.display"
17
14
],
18
15
"action" : {},
19
16
"background" : {
22
19
"commands" : {
23
20
"centralize" : {
24
21
"suggested_key" : {
25
- "default" : " Ctrl +Shift+C" ,
26
- "mac" : " Command +Shift+C"
22
+ "default" : " Alt +Shift+C" ,
23
+ "mac" : " Alt +Shift+C"
27
24
},
28
25
"description" : " Centralize the current window."
29
26
}
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ function centralize() {
20
20
width : toBeWidth ,
21
21
height : toBeHeight ,
22
22
left : leftPos ,
23
- top : topPos
23
+ top : topPos ,
24
+ state : 'normal'
24
25
} ) ;
25
26
}
26
27
} ) ;
You can’t perform that action at this time.
0 commit comments