State legislators approve budget and react to pay raise