From 94b90a2cb0b4a0e13018cd5ebbf09394abf3b96b Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Tue, 28 Apr 2026 18:10:25 +0100 Subject: config/lua: add ExpressionVec2, allow using a table for vec2 rules (#14197) --- src/desktop/view/Window.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/desktop/view/Window.hpp') diff --git a/src/desktop/view/Window.hpp b/src/desktop/view/Window.hpp index 35c08326..ff6fad96 100644 --- a/src/desktop/view/Window.hpp +++ b/src/desktop/view/Window.hpp @@ -356,6 +356,7 @@ namespace Desktop::View { SP getSolitaryResource(); Vector2D getReportedSize(); std::optional calculateExpression(const std::string& s); + std::optional calculateExpression(const Math::SExpressionVec2& expr); std::optional minSize(); std::optional maxSize(); SP layoutTarget(); -- cgit v1.2.3