Bug #11379 » 0001-Fix-WPaintedWidget-in-layout-w-progressive-boot.patch
| src/Wt/WPaintedWidget.C | ||
|---|---|---|
|
setJavaScriptMember(WT_RESIZE_JS,
|
||
|
"function(self, w, h) {"
|
||
|
"""let u = self.querySelector('canvas, img');"
|
||
|
"""if (u === null) return;"
|
||
|
"""if (w >= 0) "
|
||
|
"" "u.style.width = `${w}px`;"
|
||
|
"""else "
|
||
- « Previous
- 1
- 2
- Next »