Skip to content

Commit

Permalink
Merge pull request #29 from LikaloLLC/bugfix/#28
Browse files Browse the repository at this point in the history
Bugfix/#28
  • Loading branch information
PhilippeTrounev authored Jan 21, 2021
2 parents 8da5af8 + 4008ebc commit ed2ba52
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/step/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,17 @@ export default class Step {
style.left = `${0}px`;
style.width = `${0}px`;
style.height = `${0}px`;
style.boxShadow = "none";
const tooltip = this.tooltip;
style = tooltip.first().style;
style.opacity = 0.1;
style.top = `${view.height / 2}px`;
style.left = `${view.width / 2}px`;
tooltip.addClass("guided-tour-arrow-none");
tooltip.addClass("guided-tour-center");

if (this.context._background)
this.context._background.show();
}
}
adjust() {
Expand Down
3 changes: 3 additions & 0 deletions tourguide.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -509,13 +509,16 @@ var Step = function () {
_style.left = 0 + "px";
_style.width = 0 + "px";
_style.height = 0 + "px";
_style.boxShadow = "none";
var _tooltip = this.tooltip;
_style = _tooltip.first().style;
_style.opacity = 0.1;
_style.top = _view.height / 2 + "px";
_style.left = _view.width / 2 + "px";
_tooltip.addClass("guided-tour-arrow-none");
_tooltip.addClass("guided-tour-center");

if (this.context._background) this.context._background.show();
}
}
}, {
Expand Down
3 changes: 3 additions & 0 deletions tourguide.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,13 +512,16 @@ var Tourguide = (function () {
_style.left = 0 + "px";
_style.width = 0 + "px";
_style.height = 0 + "px";
_style.boxShadow = "none";
var _tooltip = this.tooltip;
_style = _tooltip.first().style;
_style.opacity = 0.1;
_style.top = _view.height / 2 + "px";
_style.left = _view.width / 2 + "px";
_tooltip.addClass("guided-tour-arrow-none");
_tooltip.addClass("guided-tour-center");

if (this.context._background) this.context._background.show();
}
}
}, {
Expand Down
Loading

0 comments on commit ed2ba52

Please sign in to comment.