in progress

This commit is contained in:
jfh
2020-11-03 23:51:15 +01:00
parent 6cc38b7049
commit 3b771fa891
38 changed files with 79 additions and 191 deletions

View File

@@ -361,7 +361,6 @@ export default {
/** @todo JFH special flag */
newUI: true,
name: strings.name,
svgicons: 'conn.svg',
buttons: strings.buttons.map((button, i) => {
return Object.assign(buttons[i], button);
}),

View File

@@ -74,7 +74,6 @@ export default {
const buttons = [
{
id: 'tool_eyedropper',
icon: 'eyedropper.png',
type: 'mode',
events: {
click () {
@@ -86,7 +85,7 @@ export default {
return {
name: strings.name,
svgicons: 'eyedropper-icon.xml',
newUI: true,
buttons: strings.buttons.map((button, i) => {
return Object.assign(buttons[i], button);
}),

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>-</title>
<link rel="icon" type="image/png" href="../../images/logo.png" />
<link rel="icon" type="image/png" href="../../images/logo.svg" />
<!-- Lacking browser support -->
<script nomodule="" src="../../redirect-on-no-module-support.js"></script>
@@ -19,7 +19,7 @@
<h1>Select an image:</h1>
<a href="smiley.svg">smiley.svg</a>
<br/>
<a href="../../images/logo.png">logo.png</a>
<a href="../../images/logo.svg">logo.svg</a>
</body>
</html>

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>-</title>
<link rel="icon" type="image/png" href="../../images/logo.png" />
<link rel="icon" type="image/svg" href="../../images/logo.svg" />
<!-- Lacking browser support -->
<script nomodule="" src="../../redirect-on-no-module-support.js"></script>

View File

@@ -39,8 +39,8 @@ export default {
}
}];
return {
newUI: true,
name: strings.name,
svgicons: 'ext-panning.xml',
buttons: strings.buttons.map((button, i) => {
return Object.assign(buttons[i], button);
}),

View File

@@ -164,8 +164,8 @@ export default {
}
}];
return {
newUI: true,
name: strings.name,
svgicons: 'polygon-icons.svg',
buttons: strings.buttons.map((button, i) => {
return Object.assign(buttons[i], button);
}),

View File

@@ -154,7 +154,7 @@ export default {
loadIcons();
}
const buttons = [{
id: 'tool_shapelib',
id: 'tool_shapelib_show',
icon: 'shapes.png',
type: 'mode_flyout',
position: 6,
@@ -166,6 +166,7 @@ export default {
}];
return {
newUI: true,
svgicons: 'ext-shapes.xml',
buttons: strings.buttons.map((button, i) => {
return Object.assign(buttons[i], button);

View File

@@ -120,6 +120,7 @@ export default {
}];
return {
newUI: true,
name: strings.name,
svgicons: 'star-icons.svg',
buttons: strings.buttons.map((button, i) => {