Project

General

Profile

Bug #11379 » 0001-Fix-WPaintedWidget-in-layout-w-progressive-boot.patch

Bruce Toll, 02/27/2023 03:40 AM

View differences:

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 "
(2-2/2)