svelte-log-view 5.1.0 → 5.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/LogView.svelte +2 -2
package/package.json
CHANGED
package/src/LogView.svelte
CHANGED
|
@@ -121,7 +121,6 @@
|
|
|
121
121
|
setFollow(false);
|
|
122
122
|
setSelected(0);
|
|
123
123
|
break;
|
|
124
|
-
|
|
125
124
|
case "f":
|
|
126
125
|
setFollow(!follow);
|
|
127
126
|
break;
|
|
@@ -129,7 +128,8 @@
|
|
|
129
128
|
}
|
|
130
129
|
|
|
131
130
|
function onclick(event) {
|
|
132
|
-
|
|
131
|
+
setFollow(false);
|
|
132
|
+
setSelected(start + Math.floor(event.clientY / 22)); // TODO calculate position ?
|
|
133
133
|
}
|
|
134
134
|
</script>
|
|
135
135
|
|