Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

发现动态设置刻度颜色没有效果? #31

Open
dengpan20 opened this issue Jun 1, 2020 · 1 comment
Open

发现动态设置刻度颜色没有效果? #31

dengpan20 opened this issue Jun 1, 2020 · 1 comment

Comments

@dengpan20
Copy link

代码中设置刻度颜色,没有效果。

@totond
Copy link
Owner

totond commented Jun 17, 2020

请参考README里面的:

使用setXX()方法改变一些尺子属性的时候,请调用refreshRuler()方法让尺子重新初始化,不然数值可能会错乱,出现一堆bug。除了setCurrentScale(),这个不用刷新,会直接执行跳转。
@dengpan20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants