Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Joao Oliveira
Okular
Commits
7f42a787
Commit
7f42a787
authored
Nov 23, 2012
by
Aaron J. Seigo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some small style fixes.
see
http://community.kde.org/Plasma/QMLStyle
parent
0c68129b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
active/app/package/contents/ui/FullScreenDelegate.qml
active/app/package/contents/ui/FullScreenDelegate.qml
+7
-7
No files found.
active/app/package/contents/ui/FullScreenDelegate.qml
View file @
7f42a787
...
...
@@ -33,6 +33,12 @@ MouseEventListener {
property
int
delta
property
Item
flickable
:
mainFlickable
property
bool
pageSwitchEnabled
:
false
property
alias
document
:
mainPage
.
document
property
alias
pageNumber
:
mainPage
.
pageNumber
property
Item
pageItem
:
mainPage
onWheelMoved
:
{
if
(
wheel
.
modifiers
==
Qt
.
ControlModifier
)
{
var
factor
=
wheel
.
delta
>
0
?
1.1
:
0.9
...
...
@@ -41,14 +47,8 @@ MouseEventListener {
}
}
}
property
Item
flickable
:
mainFlickable
property
bool
pageSwitchEnabled
:
false
property
alias
document
:
mainPage
.
document
property
alias
pageNumber
:
mainPage
.
pageNumber
property
Item
pageItem
:
mainPage
function
scale
(
zoom
,
absolute
)
{
function
scale
(
zoom
,
absolute
)
{
var
newScale
=
absolute
?
zoom
:
(
mainPage
.
width
/
mainPage
.
implicitWidth
)
*
zoom
;
if
(
newScale
<
0.3
||
newScale
>
3
)
{
return
false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment