amatino-code / amatino-mac Goto Github PK
View Code? Open in Web Editor NEW[Under Construction] MacOS Amatino client application
[Under Construction] MacOS Amatino client application
Global and Custom units may have arbitrary minimum fractions. For example a U.S. Dollar's smallest fraction is cents (two fractional digits) while a Bitcoin might have a Satoshi as its smallest fraction (six fractional digits). While the Amatino API fully supports such arbitrary fractions, Amatino Mac is currently hard-coded with two fractional digits. For example, in TabularAmountInput
:
init(
frame frameRect: NSRect,
side: Side
) {
self.side = side
super.init(frame: frameRect)
numberFormatter.locale = Locale.current
numberFormatter.numberStyle = .decimal
numberFormatter.currencySymbol = nil
numberFormatter.minimumIntegerDigits = 1
numberFormatter.minimumFractionDigits = 2 // <- bad!
numberFormatter.maximumFractionDigits = 2 // <- bad!
//...
To resolve this issue, various input classes will need to be able to receive and adapt to supplied Global and Custom unit fractional digit sizes.
When tabbing along the ledger input row, all is well until you attempt to reverse shift-tab back from the debit input field. A further shift-tab will take you from the account field to the debit field again. This appears to be a result of a monkey-patch applied to the tabular account selection NSView
subclass, which itself "solved" ๐ a bug wherein the tabular account selection would not enter the responder chain at all.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.