Skip to content

Commit

Permalink
Widget: Fix marquee effect implementation from xiboTextRender (#2479)
Browse files Browse the repository at this point in the history
* Widget: Fix marquee effect implementation from xiboTextRender by correctly setting pauseEffectOnStart
  • Loading branch information
rubenberttpingol authored Apr 11, 2024
1 parent 8e5c452 commit d2363a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion modules/src/xibo-player.js
Original file line number Diff line number Diff line change
Expand Up @@ -1711,7 +1711,8 @@ XiboPlayer.prototype.renderOptions = function(currentWidget, globalOptions) {
globalOptions,
{
duration: currentWidget.duration,
pauseEffectOnStart: globalOptions.pauseEffectOnStart ?? false,
pauseEffectOnStart:
globalOptions.pauseEffectOnStart ?? true,
isPreview: currentWidget.isPreview,
isEditor: currentWidget.isEditor,
},
Expand Down
1 change: 0 additions & 1 deletion modules/src/xibo-text-render.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,6 @@ jQuery.fn.extend({
.css({'white-space': 'normal', float: 'none'});
}


if (!options.pauseEffectOnStart) {
// Set some options on the extra DIV and make it a marquee
if (isUseNewMarquee) {
Expand Down

0 comments on commit d2363a8

Please sign in to comment.