Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 07f23de

Browse files
ensure white background for tinytheme default
- otherwise we get transparency artifacts due to theme settings being retrieved at load time before the device is set
1 parent 14829e1 commit 07f23de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/tinytheme.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ theme_default = list(
166166
adj = par("adj"), # 0.5,
167167
adj.main = par("adj"), # 0.5,
168168
adj.sub = par("adj"), # 0.5,
169-
bg = par("bg"), # "white"
169+
bg = "white", # par("bg") # "white"
170170
bty = par("bty"), #"o",
171171
cex.axis = par("cex.axis"), #1,
172172
cex.main = par("cex.main"), #1.2,

0 commit comments

Comments
 (0)