Skip to content

Commit

Permalink
Tweak the highlight options
Browse files Browse the repository at this point in the history
Maybe in a future release we can let the user choose these settings
  • Loading branch information
leonvogt committed Aug 5, 2024
1 parent c78c61c commit 0bc3502
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,11 @@ const handleTurboFrameRender = (event) => {
const turboFrame = event.target
const overlayClassName = `hotwire-dev-tools-highlight-overlay-turbo-frame-${turboFrame.id}`
const color = devTool.options.turbo.highlightFramesOutlineColor
addHighlightOverlayToElements([turboFrame], color, overlayClassName, "0.2")
addHighlightOverlayToElements([turboFrame], color, overlayClassName, "0.1")

setTimeout(() => {
removeHighlightOverlay(`.${overlayClassName}`)
}, 400)
}, 350)
}

const renderDetailPanel = () => {
Expand Down

0 comments on commit 0bc3502

Please sign in to comment.