diff --git a/tools/build/build.py b/tools/build/build.py index 51851a04..341f0b7b 100755 --- a/tools/build/build.py +++ b/tools/build/build.py @@ -69,6 +69,9 @@ def build_oxjs(downloads=False, geo=False): svg = read_file(path + filename) svg = re.sub('\n\s*', '', svg) svg = re.sub('', '', svg) + # temporary fix for Chrome SVG bug, remove later! + svg = re.sub('width="256" height="256"', 'width="10" height="10" viewBox="0 0 255 255"', svg) + # end fix ui_images[filename[:-4]] = svg if filename.startswith('symbolLoading'): for theme in themes: