Skip to content

Commit

Permalink
improv(plugin): Adds 2px borders to improve pane resizing with the cu…
Browse files Browse the repository at this point in the history
…rsor
  • Loading branch information
bric3 committed Jun 25, 2021
1 parent bafce26 commit e8c93f5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import org.jetbrains.concurrency.AsyncPromise
import org.jetbrains.concurrency.Promise
import java.io.BufferedInputStream
import java.net.URI
import javax.swing.BorderFactory

class ExcalidrawWebView(val lifetime: Lifetime, var uiTheme: String) {
companion object {
Expand Down Expand Up @@ -58,6 +59,7 @@ class ExcalidrawWebView(val lifetime: Lifetime, var uiTheme: String) {
val component = panel.component

init {
component.border = BorderFactory.createEmptyBorder(2, 2, 2, 2)
initializeSchemeHandler()

val messageRouter = CefMessageRouter.create()
Expand Down

0 comments on commit e8c93f5

Please sign in to comment.