mirror of
https://github.com/gkd-kit/gkd.git
synced 2024-11-16 11:42:22 +08:00
feat: add random variable (#725)
Some checks are pending
Build-Apk / build (push) Waiting to run
Some checks are pending
Build-Apk / build (push) Waiting to run
This commit is contained in:
parent
af97a9da32
commit
fa787a17e1
|
@ -444,6 +444,7 @@ data class RawSubscription(
|
|||
exp.setVariable("bottom", rect.bottom.toDouble())
|
||||
exp.setVariable("width", rect.width().toDouble())
|
||||
exp.setVariable("height", rect.height().toDouble())
|
||||
exp.setVariable("random", Math.random())
|
||||
}
|
||||
|
||||
private fun getExpression(value: String?): Expression? {
|
||||
|
|
Loading…
Reference in New Issue
Block a user