mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-24 17:23:05 +02:00
Use Preact, rather than React (#91)
* moving to Preact to shave off 100+kb * preact'ed
This commit is contained in:
@@ -60,7 +60,7 @@ var options = {
|
||||
w *= pt2rem;
|
||||
h *= pt2rem;
|
||||
|
||||
return `<img className="LaTeX SVG" src="${filename}" width="${w}rem" height="${h}rem"/>`;
|
||||
return `<img className="LaTeX SVG" src="${filename}" width="${w}" height="${h}"/>`;
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user