Skip to content

Commit f7ddfb1

Browse files
committed
changed date options order
updated readme
1 parent 463f61f commit f7ddfb1

File tree

3 files changed

+56
-26
lines changed

3 files changed

+56
-26
lines changed

README.md

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,38 @@ Click on each preview to watch live
112112
- Day-light Saving
113113
- Scale
114114
- Position
115+
- Day
116+
- Day
117+
- None
118+
- Full
119+
- Short
120+
- All CAPS
121+
- Orientation
122+
- Horizontal
123+
- Vertical
124+
- Scale
125+
- Position
126+
- Date
127+
- Year
128+
- None
129+
- Full
130+
- Short
131+
- Order
132+
- MM/DD
133+
- DD/MM
134+
- Month Name
135+
- All CAPS
136+
- Delimiter
137+
- None
138+
- Space
139+
- \-
140+
- .
141+
- /
142+
- Orientation
143+
- Horizontal
144+
- Vertical
145+
- Scale
146+
- Position
115147
- Message
116148
- Text
117149
- Scale
@@ -136,8 +168,6 @@ Click on each preview to watch live
136168
- Download this Repo as ZIP and extract it.
137169

138170
## TODO:
139-
- Date and Day
140-
- Random Character Mutations
141171
- Random Character Flip
142172
- Random drop length (not to the bottom of the screen)
143173
- [Lively](https://github.com/rocksdanister/lively) Compatible version

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,12 @@ window.onload = function () {
190190

191191
const dateFolder = gui.addFolder("Date");
192192
dateFolder.add(options, "ui_date_date").name("Day").onChange(updateMask);
193-
dateFolder.add(options, "ui_date_orientation").name("Vertical Orientation").onChange(updateMask);
194193
dateFolder.add(options, "ui_date_year", optionsToDict(config.general.properties.ui_date_year.options)).name("Year").onChange(updateMask);
195194
dateFolder.add(options, "ui_date_order", optionsToDict(config.general.properties.ui_date_order.options)).name("Order").onChange(updateMask);
196195
dateFolder.add(options, "ui_date_monthName").name("Month Name").onChange(updateMask);
197196
dateFolder.add(options, "ui_date_allCaps").name("All CAPS").onChange(updateMask);
198197
dateFolder.add(options, "ui_date_delimiter", optionsToDict(config.general.properties.ui_date_delimiter.options)).name("Delimiter").onChange(updateMask);
198+
dateFolder.add(options, "ui_date_orientation").name("Vertical Orientation").onChange(updateMask);
199199
dateFolder.add(options, "ui_date_scale").min(0).max(10).step(1).name("Scale").onChange(updateMask);
200200
const datePositionFolder = dateFolder.addFolder("Position");
201201
datePositionFolder.add(options, "ui_date_positionX").min(-100).max(100).step(1).name("X").onChange(updateMask);

project.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -581,11 +581,11 @@
581581
"value" : "0"
582582
},
583583
{
584-
"label" : "Friday",
584+
"label" : "Full",
585585
"value" : "1"
586586
},
587587
{
588-
"label" : "Fri",
588+
"label" : "Short",
589589
"value" : "2"
590590
}
591591
],
@@ -663,43 +663,34 @@
663663
"type" : "bool",
664664
"value" : false
665665
},
666-
"ui_date_orientation" :
667-
{
668-
"condition" : "ui_date_date.value",
669-
"index" : 45,
670-
"order" : 145,
671-
"text" : "Vertical Orientation",
672-
"type" : "bool",
673-
"value" : false
674-
},
675666
"ui_date_year" :
676667
{
677668
"condition" : "ui_date_date.value",
678-
"index" : 46,
669+
"index" : 45,
679670
"options" :
680671
[
681672
{
682673
"label" : "None",
683674
"value" : "0"
684675
},
685676
{
686-
"label" : "YY/",
677+
"label" : "Short",
687678
"value" : "1"
688679
},
689680
{
690-
"label" : "YYYY/",
681+
"label" : "Full",
691682
"value" : "2"
692683
}
693684
],
694-
"order" : 146,
685+
"order" : 145,
695686
"text" : "Year",
696687
"type" : "combo",
697688
"value" : "2"
698689
},
699690
"ui_date_order" :
700691
{
701692
"condition" : "ui_date_date.value",
702-
"index" : 47,
693+
"index" : 46,
703694
"options" :
704695
[
705696
{
@@ -711,30 +702,30 @@
711702
"value" : "1"
712703
}
713704
],
714-
"order" : 147,
705+
"order" : 146,
715706
"text" : "Order",
716707
"type" : "combo",
717708
"value" : "0"
718709
},
719710
"ui_date_monthname" : {
720711
"condition" : "ui_date_date.value",
721-
"index" : 48,
722-
"order" : 148,
712+
"index" : 47,
713+
"order" : 147,
723714
"text" : "Month Name",
724715
"type" : "bool",
725716
"value": false
726717
},
727718
"ui_date_allcaps" : {
728719
"condition" : "ui_date_date.value",
729-
"index" : 49,
730-
"order" : 149,
720+
"index" : 48,
721+
"order" : 148,
731722
"text" : "All CAPS",
732723
"type" : "bool",
733724
"value": false
734725
},
735726
"ui_date_delimiter" :
736727
{
737-
"index" : 50,
728+
"index" : 49,
738729
"condition" : "ui_date_date.value && !ui_date_orientation.value",
739730
"options" :
740731
[
@@ -759,11 +750,20 @@
759750
"value" : "4"
760751
}
761752
],
762-
"order" : 150,
753+
"order" : 149,
763754
"text" : "Date Delimiter",
764755
"type" : "combo",
765756
"value" : "0"
766757
},
758+
"ui_date_orientation" :
759+
{
760+
"condition" : "ui_date_date.value",
761+
"index" : 50,
762+
"order" : 150,
763+
"text" : "Vertical Orientation",
764+
"type" : "bool",
765+
"value" : false
766+
},
767767
"ui_date_scale" :
768768
{
769769
"condition" : "ui_date_date.value",

0 commit comments

Comments
 (0)