From d1473bc01b067e4fea332a24b80ed7c05223e797 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Wa=C5=9Bko?= Date: Wed, 31 Mar 2021 20:38:50 +0200 Subject: [PATCH] Make tooltip display above nodes by adding it to the global DOM --- .../builtin/visualization/java_script/sql.js | 68 +++++++++++++++++-- 1 file changed, 61 insertions(+), 7 deletions(-) diff --git a/src/rust/ide/view/graph-editor/src/builtin/visualization/java_script/sql.js b/src/rust/ide/view/graph-editor/src/builtin/visualization/java_script/sql.js index ecf5ea4992..39036f4703 100644 --- a/src/rust/ide/view/graph-editor/src/builtin/visualization/java_script/sql.js +++ b/src/rust/ide/view/graph-editor/src/builtin/visualization/java_script/sql.js @@ -13,6 +13,9 @@ const customSqlTypePrefix = 'Standard.Database.Data.Sql.Sql_Type.' /** Specifies opacity of interpolation background color. */ const interpolationBacgroundOpacity = 0.3 +/** A regular expression for parsing CSS transforms. */ +const matrixRegex = /matrix(3d)?\(.*?\)/ + /** The CSS styles for the visualization. */ const visualizationStyle = `