Add mouse coordinate view with click to copy
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
@@ -73,7 +73,7 @@ class AnnotationHandler extends CodeContentHandler {
|
||||
return;
|
||||
}
|
||||
|
||||
$output->setText( self::buildSvg($metadata) );
|
||||
$output->setText( '<div id="svg-wrapper" style="position: relative;">' . self::buildSvg($metadata) . '</div>' );
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -124,8 +124,8 @@ class AnnotationHandler extends CodeContentHandler {
|
||||
'xmlns' => 'http://www.w3.org/2000/svg',
|
||||
'width' => $baseWidth,
|
||||
'height' => $baseHeight,
|
||||
'style' => 'width: 100%; height: auto;'
|
||||
|
||||
'style' => 'width: 100%; height: auto;',
|
||||
'mwScale' => $fixScale
|
||||
);
|
||||
$elCompass = '';
|
||||
$useCompass = '';
|
||||
|
||||
Reference in New Issue
Block a user