Changed default-zoom behaviour.
authorDaniel Carl <danielcarl@gmx.de>
Thu, 27 Apr 2017 21:22:33 +0000 (23:22 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Thu, 27 Apr 2017 21:22:33 +0000 (23:22 +0200)
commit48e55c8fc865995c354086a275100da947fb3500
tree06fded177f30b2f6584686796f80c5b27457f2f4
parent9a48524c7e068ed3952206174fa5a2e8093ada6f
Changed default-zoom behaviour.

In the previous implementation the default-zoom was only a initial full
content zoom applied to the webview. But in case the user changed the
zooming and reset it back by using 'zz' the webkit zoom level was set to
1.0 (100%) and not to the initial zoom level like on startup of vimb.
This behaviour is strange to under stand and does not fit toe the
setting name 'default-zoom'.
To make the default-zoom to a real default, the zoom is also applied in
case the zoom is reseted by the user via 'zz'.
doc/vimb.1
src/main.h
src/normal.c
src/setting.c