Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Kdenlive
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
259
Issues
259
List
Boards
Labels
Service Desk
Milestones
Merge Requests
14
Merge Requests
14
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Multimedia
Kdenlive
Commits
097b3ad6
Commit
097b3ad6
authored
Oct 08, 2020
by
Pushkar Kukde
Committed by
Jean-Baptiste Mardelle
Oct 08, 2020
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented suggestion
#795
parent
bb3b4265
Pipeline
#36824
passed with stage
in 24 minutes and 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/titler/titlewidget.cpp
src/titler/titlewidget.cpp
+2
-1
No files found.
src/titler/titlewidget.cpp
View file @
097b3ad6
...
...
@@ -965,7 +965,7 @@ void TitleWidget::slotAdjustZoom()
if (scalex > scaley) scalex = scaley;
int zoompos = (int)(scalex * 7 + 0.5);*/
graphicsView
->
fitInView
(
m_frameBorder
,
Qt
::
KeepAspectRatio
);
int
zoompos
=
graphicsView
->
matrix
().
m11
()
*
100
;
int
zoompos
=
graphicsView
->
transform
().
m11
()
*
100
;
zoom_slider
->
setValue
(
zoompos
);
graphicsView
->
centerOn
(
m_frameBorder
);
}
...
...
@@ -1833,6 +1833,7 @@ void TitleWidget::itemHCenter()
newPos
+=
item
->
pos
().
x
()
-
br
.
left
();
// Check item transformation
item
->
setPos
(
newPos
,
item
->
pos
().
y
());
updateCoordinates
(
item
);
graphicsView
->
centerOn
(
m_frameBorder
);
}
}
...
...
Davy Bartoloni
🍕
@bartoloni
·
Oct 08, 2020
Thx! :)
Thx! :)
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