p, pre, br, b, img, separator, i, u, small, mark, code tags

This commit is contained in:
Face
2025-07-22 15:34:42 +03:00
parent b3526927cb
commit 1f73a7070f
82 changed files with 841 additions and 48 deletions

View File

@@ -1,8 +1,11 @@
class_name TabManager
extends HFlowContainer
var tabs: Array[Tab] = []
var active_tab := 0
@onready var main: Main = $"../.."
const TAB = preload("res://Scenes/Tab.tscn")
const TAB_NORMAL: StyleBoxFlat = preload("res://Scenes/Styles/TabNormal.tres")
@@ -79,6 +82,9 @@ func create_tab() -> void:
h_box_container.add_child(tab)
set_active_tab(index)
# WARNING: temporary
main.render()
func _input(event: InputEvent) -> void:
if Input.is_action_just_pressed("NewTab"):