Comments (7)
I'll check it as soon as possible, thank you :)
from tristatetogglebutton.
btw, your library is great and it was exactly what I was looking for, thanks for making it public. let me know if you want the xml or the source code in case you can't reproduce the issue.
I actually worked around this with a hacky solution that used the global layout listener to manualy fix this.
sadly I'm not savvy enough in all those things to branch and fix and stuff like that
from tristatetogglebutton.
It should be corrected... man what a stupid error :) Declared a variable and never defined it :(
I close the issue, but I'd be greateful if you could test it. Just change version from 1.1.2 to 1.1.3
If your app is on the market, and if you can do it, would you let me know which one it is? :)
from tristatetogglebutton.
The app is not on the market yet (I'll leave a comment if i'll decide to publish it) it's just a small app I'm doing mostly for personal use.
here is the repository if you're curious.. tho I need to commit some updates to it.
https://github.com/SillyV/CounterLists
about the issue. I think it is mostly resolved. but I think it is slightly offset to the end side,
instead of this line: spotMidX = (startX + endX) / 2 + borderWidth;
I would do the following:
spotMidX = (startX + endX) / 2;
or maybe even spotMidX = (startX + endX) / 2 - borderWidth;
here is what it is like now:
the top switch I played with the visibility, and the bottom switch I didn't.
cheers.
from tristatetogglebutton.
I guess you are right, borderWidth shouldn't appear in the calculation, because it's the margin.
from tristatetogglebutton.
Anyway I should rewrite this lib when I can. It was the first I made and was a modification on others' libs, so it's a little bit messy. :/
from tristatetogglebutton.
awesome this worked great thanks!
from tristatetogglebutton.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tristatetogglebutton.