File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11<Page xmlns =" http://schemas.nativescript.org/tns.xsd" xmlns : Slides =" nativescript-slides" loaded =" pageLoaded" >
2-
2+
33 <GridLayout rows =" * auto" >
4- <Slides : SlideContainer id =" slides" row =" 0" loop = " true " >
4+ <Slides : SlideContainer id =" slides" row =" 0" >
55 <Slides : Slide class =" slide-1" >
66 <Label text =" This is Panel 1" />
77 </Slides : Slide >
1818 <Label text =" This is Panel 5" />
1919 </Slides : Slide >
2020 </Slides : SlideContainer >
21-
21+
2222 <StackLayout row =" 1" >
2323 <button tap =" next" text =" Next" />
2424 <button tap =" prev" text =" Prev" />
Original file line number Diff line number Diff line change @@ -321,7 +321,6 @@ export class SlideContainer extends AbsoluteLayout {
321321 && args . deltaX < 0 ) {
322322
323323 if ( this . hasNext ) {
324-
325324 this . direction = direction . left ;
326325 this . currentPanel . panel . translateX = args . deltaX - this . pageWidth ;
327326 this . currentPanel . right . panel . translateX = args . deltaX ;
You can’t perform that action at this time.
0 commit comments