Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Viewport/WebAssemblyViewport.cpp @ 1577:e8a120dd05bd
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 24 Sep 2020 16:51:14 +0200 |
parents | 92fca2b3ba3d |
children | 1f812f4c95be |
comparison
equal
deleted
inserted
replaced
1576:92fca2b3ba3d | 1577:e8a120dd05bd |
---|---|
316 false, | 316 false, |
317 OnMouseUp); | 317 OnMouseUp); |
318 } | 318 } |
319 } | 319 } |
320 | 320 |
321 void WebAssemblyViewport::UpdateCanvasSize() | |
322 { | |
323 RefreshCanvasSize(); | |
324 } | |
325 | |
326 WebAssemblyViewport::~WebAssemblyViewport() | 321 WebAssemblyViewport::~WebAssemblyViewport() |
327 { | 322 { |
328 emscripten_set_resize_callback(EMSCRIPTEN_EVENT_TARGET_WINDOW, | 323 emscripten_set_resize_callback(EMSCRIPTEN_EVENT_TARGET_WINDOW, |
329 reinterpret_cast<void*>(this), | 324 reinterpret_cast<void*>(this), |
330 false, | 325 false, |