disable homing a automatically

This commit is contained in:
sanjayk03-dev
2024-12-12 00:51:38 +05:30
parent 161c397213
commit 36e4d6f4e9
2 changed files with 4 additions and 2 deletions

View File

@@ -179,7 +179,7 @@ script#control-view-template(type="text/x-template")
@click=`zero('${axis}')`, style="height:60px;width:60px")
.fa.fa-map-marker
button.pure-button(:disabled="!is_idle", @click=`home('${axis}')`,
button.pure-button(:disabled="!is_idle && axis == 'a'", @click=`home('${axis}')`,
title=`Home {{'${axis}' | upper}} axis.`, style="height:60px;width:60px")
.fa.fa-home