This repository was archived by the owner on Feb 6, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
slides/deckdeckgo-slide-code Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -411,15 +411,15 @@ export class DeckdeckgoDeck {
411411 }
412412 }
413413
414- private beforeSwipe ( swipeLeft : boolean ) : Promise < boolean > {
414+ private beforeSwipe ( enter : boolean ) : Promise < boolean > {
415415 return new Promise < boolean > ( async ( resolve ) => {
416416 const slide : HTMLElement = this . el . querySelector ( '.deckgo-slide-container:nth-child(' + ( this . activeIndex + 1 ) + ')' ) ;
417417
418418 if ( ! slide ) {
419419 // If we find no slide, we are cool something went wrong but the talk/show must go on
420420 resolve ( true ) ;
421421 } else {
422- const result : boolean = await ( slide as any ) . beforeSwipe ( swipeLeft ) ;
422+ const result : boolean = await ( slide as any ) . beforeSwipe ( enter ) ;
423423 resolve ( result ) ;
424424 }
425425 } ) ;
Original file line number Diff line number Diff line change @@ -13,10 +13,6 @@ div.deckgo-slide-code-container {
1313 & .deckgo-slide-code-container-mobile {
1414 overflow-y : hidden ;
1515 }
16-
17- deckgo-highlight-code {
18- direction : ltr ;
19- }
2016}
2117
2218::slotted([slot = " title" ]) {
You can’t perform that action at this time.
0 commit comments