MozillaZine

keyconfig 20110522

Announce and Discuss the Latest Theme and Extension Releases.
avada
 
Posts: 1818
Joined: February 10th, 2008, 6:30 am
Location: Hungary

Post Posted February 10th, 2019, 12:12 pm

Hi!

Can I increase/decrease zoom level by a specific percentate via keyconfig? I'm thinking of using ctrl+shift +wheel and num +/-

WildcatRay

User avatar
 
Posts: 7460
Joined: October 18th, 2007, 7:03 pm
Location: Columbus, OH

Post Posted February 10th, 2019, 12:22 pm

avada wrote:Hi!

Can I increase/decrease zoom level by a specific percentate via keyconfig? I'm thinking of using ctrl+shift +wheel and num +/-
Do you mean something other than the +/-10% that occurs when you hold Ctrl and scroll the mouse wheel?
Ray

OS'es: 4 computers with Win10 Pro 64-bit; Current Firefox, Beta, Nightly, Chrome, Vivaldi

avada
 
Posts: 1818
Joined: February 10th, 2008, 6:30 am
Location: Hungary

Post Posted February 10th, 2019, 12:40 pm

WildcatRay wrote:
avada wrote:Hi!

Can I increase/decrease zoom level by a specific percentate via keyconfig? I'm thinking of using ctrl+shift +wheel and num +/-
Do you mean something other than the +/-10% that occurs when you hold Ctrl and scroll the mouse wheel?


Yes. Actually I zoom by zoom levels specified in an addon. But it would be nice to have a fixed percent mode as well.

morat
 
Posts: 3077
Joined: February 3rd, 2009, 6:29 pm

Post Posted February 10th, 2019, 1:28 pm

@avada

Normally Fx uses the values in the toolkit.zoomManager.zoomValues pref.

Try these:

Code: Select all
ZoomManager.zoom += 0.10;

Code: Select all
ZoomManager.zoom -= 0.10;

avada
 
Posts: 1818
Joined: February 10th, 2008, 6:30 am
Location: Hungary

Post Posted February 10th, 2019, 3:10 pm

morat wrote:@avada

Normally Fx uses the values in the toolkit.zoomManager.zoomValues pref.

Try these:

Code: Select all
ZoomManager.zoom += 0.10;

Code: Select all
ZoomManager.zoom -= 0.10;

Thanks! It works fine.

Return to Extension/Theme Releases


Who is online

Users browsing this forum: No registered users and 3 guests