Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

Commit

Permalink
CHANGELOG, formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
radeusgd committed Mar 23, 2021
1 parent be44b89 commit 70c9ed2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
will be lost. In this build we added notification in statusbar to signalize
that the connection was lost and IDE must be restarted. In future IDE will try
to automatically reconnect.
- [Database Visualizations][1335]. Visualizations for the Database library have
been added: the Table visualization now automatically executes the underlying
query to display its results in a table and a SQL Query visualization allows
to see the query that is going to be run in the database.

<br/>![Bug Fixes](/docs/assets/tags/bug_fixes.svg)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class SqlVisualization extends Visualization {
const dom = this.dom
let tooltipOwner = null
function interpolationMouseEnter(event) {
const target = this.parentElement.getElementsByClassName("mismatch")[0]
const target = this.parentElement.getElementsByClassName('mismatch')[0]
const fg = target.getAttribute('data-fgColorHover')
const bg = target.getAttribute('data-bgColorHover')
const message = decodeURIComponent(target.getAttribute('data-message'))
Expand All @@ -235,12 +235,13 @@ class SqlVisualization extends Visualization {
const scrollElement = pre.parentElement
const scrollX = scrollElement.scrollLeft
const scrollY = scrollElement.scrollTop
const x = container.offsetLeft - tooltip.offsetWidth / 2 + container.offsetWidth / 2 - scrollX
const x =
container.offsetLeft - tooltip.offsetWidth / 2 + container.offsetWidth / 2 - scrollX
const y = container.offsetTop - elem.offsetTop - pre.offsetTop - scrollY - 160
tooltip.style.transform = 'translate(' + x + 'px, ' + y + 'px)'
}
function interpolationMouseLeave(event) {
const target = this.parentElement.getElementsByClassName("mismatch")[0]
const target = this.parentElement.getElementsByClassName('mismatch')[0]
const fg = target.getAttribute('data-fgColor')
const bg = target.getAttribute('data-bgColor')
target.style.color = fg
Expand Down

0 comments on commit 70c9ed2

Please sign in to comment.