File tree Expand file tree Collapse file tree 2 files changed +27
-24
lines changed Expand file tree Collapse file tree 2 files changed +27
-24
lines changed Original file line number Diff line number Diff line change 11{
2- "nativescript" : {
3- "id" : " org.nativescript.demo" ,
4- "tns-android" : {
5- "version" : " 2.0.0"
6- },
7- "tns-ios" : {
8- "version" : " 2.0.0"
9- }
10- },
11- "dependencies" : {
12- "nativescript-slides" : " file:.." ,
13- "tns-core-modules" : " ^2.0.1"
14- },
15- "devDependencies" : {
16- "babel-traverse" : " 6.9.0" ,
17- "babel-types" : " 6.9.1" ,
18- "babylon" : " 6.8.0" ,
19- "filewalker" : " 0.1.2" ,
20- "lazy" : " 1.0.11" ,
21- "nativescript-dev-typescript" : " ^0.3.1" ,
22- "typescript" : " ^1.8.7"
23- }
24- }
2+ "nativescript" : {
3+ "id" : " org.nativescript.demo" ,
4+ "tns-android" : {
5+ "version" : " 2.0.0"
6+ },
7+ "tns-ios" : {
8+ "version" : " 2.0.0"
9+ }
10+ },
11+ "dependencies" : {
12+ "nativescript-slides" : " file:.." ,
13+ "tns-core-modules" : " ^2.0.1"
14+ },
15+ "devDependencies" : {
16+ "babel-traverse" : " 6.9.0" ,
17+ "babel-types" : " 6.9.1" ,
18+ "babylon" : " 6.8.0" ,
19+ "filewalker" : " 0.1.2" ,
20+ "lazy" : " 1.0.11" ,
21+ "nativescript-dev-typescript" : " ^0.3.1" ,
22+ "typescript" : " ^1.8.7"
23+ }
24+ }
Original file line number Diff line number Diff line change @@ -180,6 +180,9 @@ export class SlideContainer extends AbsoluteLayout {
180180 if ( this . _pageIndicators == null ) {
181181 this . _pageIndicators = false ;
182182 }
183+ if ( this . indicatorsColor == null ) {
184+ this . indicatorsColor = "#fff" ; //defaults to white.
185+ }
183186 }
184187
185188 public constructView ( constructor : boolean = false ) : void {
@@ -225,7 +228,7 @@ export class SlideContainer extends AbsoluteLayout {
225228 if ( ! Color . isValid ( iColor ) ) {
226229 iColor = '#fff' ;
227230 }
228-
231+
229232 this . _footer = this . buildFooter ( slides . length , 0 , iColor ) ;
230233 this . insertChild ( this . _footer , this . getChildrenCount ( ) ) ;
231234 // this.setActivePageIndicator(0);
You can’t perform that action at this time.
0 commit comments