Skip to content

Commit

Permalink
Move to next picture on search enter
Browse files Browse the repository at this point in the history
  • Loading branch information
Răzvan C. Rădulescu committed May 22, 2021
1 parent 79c75ef commit 5b23b12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions project/PexelsQD/PexelsQD.gd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const PB_COLORS := {

const PCNotification := preload("res://PexelsQD/PanelContainerNotification.tscn")

var _is_first := true
var _session: Session = null
var _tr_image_placeholder: StreamTexture = null
var _tr_image_alpha := {
Expand Down Expand Up @@ -104,8 +103,9 @@ func _unhandled_input(event: InputEvent) -> void:
_on_PanelContainerInfoColorRect_gui_input(new_event)


func _on_LineEditSearch_text_entered(new_text: String) -> void:
tb_play_pause.pressed = not tb_play_pause.disabled
func _on_LineEditSearch_text_entered(_new_text: String) -> void:
tb_play_pause.pressed = true
tb_skip_forward.emit_signal("pressed")


func _on_LineEditSearch_text_validated(new_text: String) -> void:
Expand Down

0 comments on commit 5b23b12

Please sign in to comment.