mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-22 16:20:19 +01:00
Show what HEAD points to when branch does not exist
This commit is contained in:
parent
7d7b15e3fb
commit
c49fa2f7d4
2 changed files with 5 additions and 3 deletions
|
@ -17,6 +17,8 @@ test -d .git
|
||||||
|
|
||||||
[congrats]
|
[congrats]
|
||||||
|
|
||||||
Wonderful! Now, let's make sure that your time machine works correctly...
|
Oh hey, that's you! :) Wonderful!
|
||||||
|
|
||||||
|
Now, let's make sure that your time machine works correctly...
|
||||||
|
|
||||||
Click on "Next level", as soon as you're ready!
|
Click on "Next level", as soon as you're ready!
|
||||||
|
|
|
@ -15,8 +15,8 @@ func _process(_delta):
|
||||||
return
|
return
|
||||||
|
|
||||||
if repository.objects[source].type == "head":
|
if repository.objects[source].type == "head":
|
||||||
hide()
|
$Tip.hide()
|
||||||
set_process(false)
|
$Line.hide()
|
||||||
|
|
||||||
var start = repository.objects[source].position
|
var start = repository.objects[source].position
|
||||||
var end = start + Vector2(0, 60)
|
var end = start + Vector2(0, 60)
|
||||||
|
|
Loading…
Reference in a new issue