Commit graph

16 commits

Author SHA1 Message Date
6f781b33fa New layer API WIP 2022-01-13 22:25:47 -06:00
e499447cf5 Added operator overloading for Decimals
Note: This feature is being enabled through babel, and unfortunately
doesn't really have any typescript support. Using an overloaded operator
will show an error and be typed as "any". If ecmascript ever
support operator overloading, then typescript will follow suit and these
issues can be resolved.
Here's the current proposal for how that could look like, although it's
a long way's off from being accepted, if it ever is:
https://github.com/tc39/proposal-operator-overloading

Alternatively, there's a proposal for declaring that certain types have
operator overloads, which would also work just perfectly:
https://github.com/microsoft/TypeScript/issues/42218

In the meantime, the errors will unfortunately remain present, although
they won't cause any issues in production.

BTW, the rhs can be any DecimalSource, but the lhs has to be a Decimal.
2021-09-19 23:10:01 -05:00
029cd534b1 Added notifications to actions 2021-08-27 00:18:34 -05:00
00ddf767da Added replit support 2021-08-20 21:13:31 -05:00
d47ce3525d Implemented most of the basic features for new Board component 2021-08-19 00:25:49 -05:00
0afcd1cd3d First pass at typescript support
Oh man did this end up requiring a *ton* of other work as well.
There's still a few typing issues I still can't quite work out,
and others I'd like to improve when I have time. In fact, this version
doesn't even really work, it has a stack overflow error caused by
a tooltip for some reason have a tree inside it, which in turn has
another tooltip, etc. There's also 17 errors that I *really* feel like
shouldn't be there, but they are, and 113 warnings - mostly using !
to assert that things are non-null. Lots of work left to do, to sum up.

The reason I'm committing this now is because I really need to get to
work on my game jam, and since it won't use a tree or really many of
TMT-X's features, I can get away with using a broken engine :)
2021-08-16 23:30:54 -05:00
c4a3a0de4d Added scss support 2021-07-31 18:35:58 -05:00
8fe91e88c9 Vue 3 Migration 2021-07-24 17:08:52 -05:00
ae9578ad3a Fixed various scrolling issues 2021-06-22 03:34:59 -05:00
f018016477 Implemented saves manager 2021-06-20 23:29:55 -05:00
8e5c1b457d Fixed modals not appearing on top 2021-06-12 00:41:25 -05:00
adf7d7a67c Added layer features 2021-06-11 23:38:16 -05:00
e6676d48fc Set up main display including component coercion 2021-05-27 01:14:43 -05:00
829eac7068 Implemented settings and info modals 2021-05-22 15:39:27 -05:00
674cbe3ff4 Install vuex 2021-05-19 17:23:41 -05:00
e677a83ed0 Create vue app 2021-05-19 17:21:51 -05:00