🎉 Update wasm label (#9938)

This commit is contained in:
Alejandro Alonso 2026-05-29 13:40:35 +02:00 committed by GitHub
parent 7e6884e330
commit b5108ca1ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,9 +58,9 @@ pub fn render_wasm_label(render_state: &mut RenderState) {
paint.set_color(skia::Color::GRAY);
let mut str = if render_state.options.is_debug_visible() {
"WASM RENDERER (DEBUG)"
"WebGL rendering (debug)"
} else {
"WASM RENDERER"
"WebGL rendering"
};
let (scalar, _) = render_state.fonts.debug_font().measure_str(str, None);
let mut p = skia::Point::new(width as f32 - 25.0 - scalar, height as f32 - 25.0);