diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-03-04 23:26:05 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-03-05 11:41:20 +1100 |
| commit | 35364193e3d24d47a8c2d970f70f696f2247e3bb (patch) | |
| tree | 03ad351e37e040eabe666d6f4921971545a1fb17 /src/services | |
| parent | popdowns: buttons change colour when disabled (diff) | |
| download | caelestia-shell-35364193e3d24d47a8c2d970f70f696f2247e3bb.tar.gz caelestia-shell-35364193e3d24d47a8c2d970f70f696f2247e3bb.tar.bz2 caelestia-shell-35364193e3d24d47a8c2d970f70f696f2247e3bb.zip | |
launcher: math mode
Diffstat (limited to 'src/services')
| -rw-r--r-- | src/services/math.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/math.ts b/src/services/math.ts index f5807ef..0cddf1b 100644 --- a/src/services/math.ts +++ b/src/services/math.ts @@ -103,7 +103,7 @@ export default class Math extends GObject.Object { } else if (equation.includes("=")) { const [left, right] = equation.split("="); try { - this.#variables[left.trim()] = simplify(right).toString(); + this.#variables[left.trim()] = simplify(right, this.#variables).toString(); } catch { this.#variables[left.trim()] = right.trim(); } |