Transparency appears broken compared to tview #15
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: tslocum/cview#15
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm attempting to make a modal with background transparency as shown in https://github.com/rivo/tview/wiki/Modal. The code snippet appears to work with
tview
Master
:However, running the same snippet with
cview
does not render the background page:I've uploaded the example to GitHub: https://github.com/nlowe/cview-transparency-bug/blob/master/main.go. It's the same snippet that is in
tview
's wiki. Looking at thego.sum
I only see a single copy oftcell
being pulled in so I think this is related something to the fork.closed via commit 7a4f8737ad3b54f61d9f5289cfb362ac40c74fd1
reopened
closed via commit
eafc5b33a2
Thanks @nlowe. This seems to be caused by this change. I've added Box.SetBackgroundTransparent to resolve this.
Yup, seems to work, thanks! Note that the docs for
NewFlex()
andNewGrid()
still imply they have a transparent background by default.Thanks, I've restored this default behavior.