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
D
decker
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
decker
decker
Commits
a2f97f93
Commit
a2f97f93
authored
Nov 02, 2020
by
Mario Botsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix vertical slides, which were messed up by whiteboard
parent
93959e25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
resource/support/plugins/whiteboard/whiteboard.js
resource/support/plugins/whiteboard/whiteboard.js
+4
-3
No files found.
resource/support/plugins/whiteboard/whiteboard.js
View file @
a2f97f93
...
...
@@ -202,6 +202,9 @@ let RevealWhiteboard = (function(){
if
(
Reveal
.
getConfig
().
center
||
slide
.
classList
.
contains
(
'
center
'
))
{
// Reveal implements centering by adjusting css:top. Remove this.
slide
.
style
.
top
=
''
;
// div for centering with flex layout
let
vcenter
=
document
.
createElement
(
"
div
"
);
vcenter
.
classList
.
add
(
"
v-center
"
);
...
...
@@ -1450,6 +1453,7 @@ let RevealWhiteboard = (function(){
// whenever slide changes, update slideIndices and redraw
Reveal
.
addEventListener
(
'
ready
'
,
setupSlides
);
Reveal
.
addEventListener
(
'
ready
'
,
slideChanged
);
Reveal
.
addEventListener
(
'
slidechanged
'
,
slideChanged
);
...
...
@@ -1513,9 +1517,6 @@ let RevealWhiteboard = (function(){
selectPenColor
(
penColors
[
0
]);
selectPenRadius
(
2
);
// put centered slides in flex-layout
setupSlides
();
// hide buttons in print mode
if
(
printMode
)
buttons
.
style
.
display
=
'
none
'
;
...
...
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