Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
2094e6010c | |||
d8e88e6091 |
@ -52,6 +52,7 @@ class ExtraDistancePlugin(octoprint.plugin.SettingsPlugin,
|
||||
# ("OctoPrint-PluginSkeleton"), you may define that here. Same goes for the other metadata derived from setup.py that
|
||||
# can be overwritten via __plugin_xyz__ control properties. See the documentation for that.
|
||||
__plugin_name__ = "Extra Distance Buttons"
|
||||
__plugin_pythoncompat__ = ">=2.7,<4"
|
||||
|
||||
def __plugin_load__():
|
||||
global __plugin_implementation__
|
||||
|
@ -12,7 +12,7 @@ $(function() {
|
||||
self.control.distances2 = ko.observableArray([5, 50, 100, 150]);
|
||||
|
||||
if ($("#touch body").length == 0) {
|
||||
$(".distance").remove();
|
||||
$(".jog-panel .distance").remove();
|
||||
$("#control-jog-z").after("\
|
||||
<div class=\"distance\" id=\"distance-selector\">\
|
||||
<div class=\"btn-group\" data-toggle=\"buttons-radio\" id=\"jog_distance1\">\
|
||||
|
Reference in New Issue
Block a user