Commit b290bcd
committed
Background wraps the user bbox for image insets
The background rectangle on an image inset now tracks the full user
bbox (the letterbox envelope) instead of the fitted image. A themed
fill or border now surrounds the whole requested region, with the
fill visible in the letterbox padding bands.
The patch is now added before the image artist so its fill renders
behind the image; previously it sat on top because it hugged the
image and only the border was meant to be visible.1 parent d071c64 commit b290bcd
1 file changed
Lines changed: 11 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
| |||
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
116 | | - | |
117 | | - | |
118 | | - | |
| 118 | + | |
| 119 | + | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
124 | 130 | | |
125 | 131 | | |
126 | 132 | | |
127 | 133 | | |
128 | 134 | | |
129 | 135 | | |
130 | | - | |
131 | | - | |
132 | 136 | | |
133 | 137 | | |
134 | 138 | | |
| |||
0 commit comments